[INFO] fetching crate mesdoc 0.2.1... [INFO] checking mesdoc-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mesdoc 0.2.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate mesdoc 0.2.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 mesdoc 0.2.1 [INFO] finished tweaking crates.io crate mesdoc 0.2.1 [INFO] tweaked toml for crates.io crate mesdoc 0.2.1 written to /workspace/builds/worker-2-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 13 packages to latest compatible versions [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 188b84b34e0008109e7d5c5f42640a1addf9714373584bd65f118dd7c1275ad4 [INFO] running `Command { std: "docker" "start" "-a" "188b84b34e0008109e7d5c5f42640a1addf9714373584bd65f118dd7c1275ad4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "188b84b34e0008109e7d5c5f42640a1addf9714373584bd65f118dd7c1275ad4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "188b84b34e0008109e7d5c5f42640a1addf9714373584bd65f118dd7c1275ad4", kill_on_drop: false }` [INFO] [stdout] 188b84b34e0008109e7d5c5f42640a1addf9714373584bd65f118dd7c1275ad4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a042975c02b977591bd76f9d09f410047d2f3f0fec938bcce65f94c2632d6e9c [INFO] running `Command { std: "docker" "start" "-a" "a042975c02b977591bd76f9d09f410047d2f3f0fec938bcce65f94c2632d6e9c", kill_on_drop: false }` [INFO] [stderr] Checking mesdoc v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/interface/elements.rs:1552:4 [INFO] [stdout] | [INFO] [stdout] 1552 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/interface/elements.rs:1552:4 [INFO] [stdout] | [INFO] [stdout] 1552 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/selector/mod.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | let mut now_first = &mut r[0]; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` 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/rules/all.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | all_handle: Some(Box::new(|eles: &Elements, _| eles.cloned())), [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/rules/all.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | ..Default::default() [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/rules/attr.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 19 | let handle: Box) -> bool> = if let Some(attr_value) = attr_value { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | one_handle: Some(Box::new(move |ele: &BoxDynElement, _| { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let val = ele.get_attribute(attr_key); [INFO] [stdout] 83 | | handle(&val) [INFO] [stdout] 84 | | })), [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/rules/attr.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 19 | let handle: Box) -> bool> = if let Some(attr_value) = attr_value { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | ..Default::default() [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/rules/pseudo.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | one_handle: Some(Box::new(|ele: &BoxDynElement, _| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 22 | | let child_nodes = ele.child_nodes(); [INFO] [stdout] 23 | | if child_nodes.is_empty() { [INFO] [stdout] 24 | | return true; [INFO] [stdout] ... | [INFO] [stdout] 36 | | only_comments [INFO] [stdout] 37 | | })), [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/rules/pseudo.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | ..Default::default() [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/rules/pseudo.rs:443:16 [INFO] [stdout] | [INFO] [stdout] 443 | all_handle: Some(Box::new(|eles: &Elements, _| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 444 | | let mut result = Elements::with_capacity(DEF_NODES_LEN); [INFO] [stdout] 445 | | let mut prev_parent: Option = None; [INFO] [stdout] 446 | | for ele in eles.get_ref() { [INFO] [stdout] ... | [INFO] [stdout] 469 | | result [INFO] [stdout] 470 | | })), [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/rules/pseudo.rs:471:6 [INFO] [stdout] | [INFO] [stdout] 471 | ..Default::default() [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/rules/pseudo.rs:487:16 [INFO] [stdout] | [INFO] [stdout] 487 | all_handle: Some(Box::new(|eles: &Elements, _| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 488 | | let mut result = Elements::with_capacity(DEF_NODES_LEN); [INFO] [stdout] 489 | | group_siblings_then_done( [INFO] [stdout] 490 | | eles, [INFO] [stdout] ... | [INFO] [stdout] 539 | | result [INFO] [stdout] 540 | | })), [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/rules/pseudo.rs:541:6 [INFO] [stdout] | [INFO] [stdout] 541 | ..Default::default() [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/selector/pattern.rs:545:5 [INFO] [stdout] | [INFO] [stdout] 534 | cb: F, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 545 | Ok(cb()) [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: panic message is not a string literal [INFO] [stdout] --> src/selector/rule.rs:282:28 [INFO] [stdout] | [INFO] [stdout] 282 | Err(reason) => panic!(reason), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 282 | Err(reason) => panic!("{}", reason), [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/selector/rule.rs:408:10 [INFO] [stdout] | [INFO] [stdout] 404 | fn from(item: RuleDefItem) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | rule: Rule { [INFO] [stdout] | ___________________^ [INFO] [stdout] 409 | | priority: item.2, [INFO] [stdout] 410 | | in_cache: false, [INFO] [stdout] 411 | | fields: item.3, [INFO] [stdout] 412 | | handle: item.4, [INFO] [stdout] 413 | | queues: Vec::new(), [INFO] [stdout] 414 | | }, [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/interface/element.rs:94:3 [INFO] [stdout] | [INFO] [stdout] 93 | let ele = self.clone_node(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | ele.typed().into_element().unwrap() [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/interface/element.rs:301:7 [INFO] [stdout] | [INFO] [stdout] 300 | fn into_text<'b>(self: Box) -> Result, Box> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 301 | Err(Box::new(IError::InvalidTraitMethodCall { [INFO] [stdout] | _____________^ [INFO] [stdout] 302 | | method: "into_text".into(), [INFO] [stdout] 303 | | message: "The into_text method is not implemented.".into(), [INFO] [stdout] 304 | | })) [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/interface/texts.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | Box::new(self.nodes.into_iter()) [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/interface/elements.rs:1178:12 [INFO] [stdout] | [INFO] [stdout] 1174 | let root_element = filtered [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1178 | Some(Elements::with_node(&root_element)) [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/interface/elements.rs:1996:12 [INFO] [stdout] | [INFO] [stdout] 1995 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1996 | Box::new(self.nodes.into_iter()) [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 17 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/selector/mod.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | let mut now_first = &mut r[0]; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mesdoc` (lib test) due to 18 previous errors; 3 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/rules/all.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | all_handle: Some(Box::new(|eles: &Elements, _| eles.cloned())), [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/rules/all.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | ..Default::default() [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/rules/attr.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 19 | let handle: Box) -> bool> = if let Some(attr_value) = attr_value { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | one_handle: Some(Box::new(move |ele: &BoxDynElement, _| { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let val = ele.get_attribute(attr_key); [INFO] [stdout] 83 | | handle(&val) [INFO] [stdout] 84 | | })), [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/rules/attr.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 19 | let handle: Box) -> bool> = if let Some(attr_value) = attr_value { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | ..Default::default() [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/rules/pseudo.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | one_handle: Some(Box::new(|ele: &BoxDynElement, _| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 22 | | let child_nodes = ele.child_nodes(); [INFO] [stdout] 23 | | if child_nodes.is_empty() { [INFO] [stdout] 24 | | return true; [INFO] [stdout] ... | [INFO] [stdout] 36 | | only_comments [INFO] [stdout] 37 | | })), [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/rules/pseudo.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | ..Default::default() [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/rules/pseudo.rs:443:16 [INFO] [stdout] | [INFO] [stdout] 443 | all_handle: Some(Box::new(|eles: &Elements, _| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 444 | | let mut result = Elements::with_capacity(DEF_NODES_LEN); [INFO] [stdout] 445 | | let mut prev_parent: Option = None; [INFO] [stdout] 446 | | for ele in eles.get_ref() { [INFO] [stdout] ... | [INFO] [stdout] 469 | | result [INFO] [stdout] 470 | | })), [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/rules/pseudo.rs:471:6 [INFO] [stdout] | [INFO] [stdout] 471 | ..Default::default() [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/rules/pseudo.rs:487:16 [INFO] [stdout] | [INFO] [stdout] 487 | all_handle: Some(Box::new(|eles: &Elements, _| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 488 | | let mut result = Elements::with_capacity(DEF_NODES_LEN); [INFO] [stdout] 489 | | group_siblings_then_done( [INFO] [stdout] 490 | | eles, [INFO] [stdout] ... | [INFO] [stdout] 539 | | result [INFO] [stdout] 540 | | })), [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/rules/pseudo.rs:541:6 [INFO] [stdout] | [INFO] [stdout] 541 | ..Default::default() [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/selector/pattern.rs:545:5 [INFO] [stdout] | [INFO] [stdout] 534 | cb: F, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 545 | Ok(cb()) [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: panic message is not a string literal [INFO] [stdout] --> src/selector/rule.rs:282:28 [INFO] [stdout] | [INFO] [stdout] 282 | Err(reason) => panic!(reason), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 282 | Err(reason) => panic!("{}", reason), [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/selector/rule.rs:408:10 [INFO] [stdout] | [INFO] [stdout] 404 | fn from(item: RuleDefItem) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | rule: Rule { [INFO] [stdout] | ___________________^ [INFO] [stdout] 409 | | priority: item.2, [INFO] [stdout] 410 | | in_cache: false, [INFO] [stdout] 411 | | fields: item.3, [INFO] [stdout] 412 | | handle: item.4, [INFO] [stdout] 413 | | queues: Vec::new(), [INFO] [stdout] 414 | | }, [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/interface/element.rs:94:3 [INFO] [stdout] | [INFO] [stdout] 93 | let ele = self.clone_node(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | ele.typed().into_element().unwrap() [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/interface/element.rs:301:7 [INFO] [stdout] | [INFO] [stdout] 300 | fn into_text<'b>(self: Box) -> Result, Box> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 301 | Err(Box::new(IError::InvalidTraitMethodCall { [INFO] [stdout] | _____________^ [INFO] [stdout] 302 | | method: "into_text".into(), [INFO] [stdout] 303 | | message: "The into_text method is not implemented.".into(), [INFO] [stdout] 304 | | })) [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/interface/texts.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | Box::new(self.nodes.into_iter()) [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/interface/elements.rs:1178:12 [INFO] [stdout] | [INFO] [stdout] 1174 | let root_element = filtered [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1178 | Some(Elements::with_node(&root_element)) [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/interface/elements.rs:1996:12 [INFO] [stdout] | [INFO] [stdout] 1995 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1996 | Box::new(self.nodes.into_iter()) [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 17 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mesdoc` (lib) due to 18 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a042975c02b977591bd76f9d09f410047d2f3f0fec938bcce65f94c2632d6e9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a042975c02b977591bd76f9d09f410047d2f3f0fec938bcce65f94c2632d6e9c", kill_on_drop: false }` [INFO] [stdout] a042975c02b977591bd76f9d09f410047d2f3f0fec938bcce65f94c2632d6e9c