[INFO] fetching crate catmark 0.2.2... [INFO] checking catmark-0.2.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate catmark 0.2.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate catmark 0.2.2 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 catmark 0.2.2 [INFO] finished tweaking crates.io crate catmark 0.2.2 [INFO] tweaked toml for crates.io crate catmark 0.2.2 written to /workspace/builds/worker-4-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 76 packages to latest compatible versions [INFO] [stderr] Adding ansi_term v0.11.0 (latest: v0.12.1) [INFO] [stderr] Adding base64 v0.8.0 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v0.9.1 (latest: v2.6.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding onig v3.2.2 (latest: v6.4.0) [INFO] [stderr] Adding onig_sys v68.2.1 (latest: v69.8.1) [INFO] [stderr] Adding plist v0.2.4 (latest: v1.7.0) [INFO] [stderr] Adding pulldown-cmark v0.1.2 (latest: v0.12.0) [INFO] [stderr] Adding regex-syntax v0.4.2 (latest: v0.8.4) [INFO] [stderr] Adding safemem v0.2.0 (latest: v0.3.3) [INFO] [stderr] Adding syntect v2.1.0 (latest: v5.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding xml-rs v0.7.0 (latest: v0.8.21) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] dd5fd07b4971a456441ea052bb6c5723f3aaf98b5eb461efffc32baaa0770201 [INFO] running `Command { std: "docker" "start" "-a" "dd5fd07b4971a456441ea052bb6c5723f3aaf98b5eb461efffc32baaa0770201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd5fd07b4971a456441ea052bb6c5723f3aaf98b5eb461efffc32baaa0770201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd5fd07b4971a456441ea052bb6c5723f3aaf98b5eb461efffc32baaa0770201", kill_on_drop: false }` [INFO] [stdout] dd5fd07b4971a456441ea052bb6c5723f3aaf98b5eb461efffc32baaa0770201 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 9b455cb628e575935158d779fc5298524330385c41531518ae7ce46196789888 [INFO] running `Command { std: "docker" "start" "-a" "9b455cb628e575935158d779fc5298524330385c41531518ae7ce46196789888", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Compiling plist v0.2.4 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling onig_sys v68.2.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking base64 v0.8.0 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking onig v3.2.2 [INFO] [stderr] Checking syntect v2.1.0 [INFO] [stderr] Checking catmark v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/dombox.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl DomColor { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 53 | pub fn default() -> DomColor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Center` and `Right` are never constructed [INFO] [stdout] --> src/dombox.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub enum TextAlign { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 87 | Left, [INFO] [stdout] 88 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 89 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextAlign` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `align`, `top_nb_type`, `bottom_nb_type`, `left_nb_type`, and `right_nb_type` are never read [INFO] [stdout] --> src/dombox.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct DomStyle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 123 | pub align: TextAlign, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 124 | pub border_type: BorderType, [INFO] [stdout] 125 | pub top_nb_type: BorderType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 126 | pub bottom_nb_type: BorderType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 127 | pub left_nb_type: BorderType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 128 | pub right_nb_type: BorderType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DomStyle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/dombox.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | Header(u8), [INFO] [stdout] | ------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BoxKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 169 | Header(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/dombox.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | List(Option), [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BoxKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 170 | List(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Table`, `TableColumn`, `TableItem`, and `Image` are never constructed [INFO] [stdout] --> src/dombox.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub enum BoxKind<'a> { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 172 | Table, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 173 | TableColumn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 174 | TableItem, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 175 | Image, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoxKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/ansi_renderer.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(iter: I, syntaxes: &'b SyntaxSet, themes: &'b highlighting::ThemeSet) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | highline: None, [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: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `catmark` (bin "catmark" test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/dombox.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl DomColor { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 53 | pub fn default() -> DomColor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Center` and `Right` are never constructed [INFO] [stdout] --> src/dombox.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub enum TextAlign { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 87 | Left, [INFO] [stdout] 88 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 89 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextAlign` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `align`, `top_nb_type`, `bottom_nb_type`, `left_nb_type`, and `right_nb_type` are never read [INFO] [stdout] --> src/dombox.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct DomStyle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 123 | pub align: TextAlign, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 124 | pub border_type: BorderType, [INFO] [stdout] 125 | pub top_nb_type: BorderType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 126 | pub bottom_nb_type: BorderType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 127 | pub left_nb_type: BorderType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 128 | pub right_nb_type: BorderType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DomStyle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/dombox.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | Header(u8), [INFO] [stdout] | ------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BoxKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 169 | Header(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/dombox.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | List(Option), [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BoxKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 170 | List(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Table`, `TableColumn`, `TableItem`, and `Image` are never constructed [INFO] [stdout] --> src/dombox.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub enum BoxKind<'a> { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 172 | Table, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 173 | TableColumn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 174 | TableItem, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 175 | Image, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoxKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/ansi_renderer.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(iter: I, syntaxes: &'b SyntaxSet, themes: &'b highlighting::ThemeSet) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | highline: None, [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: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `catmark` (bin "catmark") due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9b455cb628e575935158d779fc5298524330385c41531518ae7ce46196789888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b455cb628e575935158d779fc5298524330385c41531518ae7ce46196789888", kill_on_drop: false }` [INFO] [stdout] 9b455cb628e575935158d779fc5298524330385c41531518ae7ce46196789888