[INFO] cloning repository https://github.com/Geemili/mdproof [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Geemili/mdproof" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeemili%2Fmdproof", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeemili%2Fmdproof'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7cbd275d01f9eb25acf04c258ad2aa6878ce9151 [INFO] checking Geemili/mdproof/7cbd275d01f9eb25acf04c258ad2aa6878ce9151 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%2FGeemili%2Fmdproof" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Geemili/mdproof 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/Geemili/mdproof [INFO] finished tweaking git repo https://github.com/Geemili/mdproof [INFO] tweaked toml for git repo https://github.com/Geemili/mdproof written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Geemili/mdproof 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1b9eec0f422356f6440d7fd61fb9b8aabdcde2b564ecf87b2a48a5b347b25e25 [INFO] running `Command { std: "docker" "start" "-a" "1b9eec0f422356f6440d7fd61fb9b8aabdcde2b564ecf87b2a48a5b347b25e25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b9eec0f422356f6440d7fd61fb9b8aabdcde2b564ecf87b2a48a5b347b25e25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b9eec0f422356f6440d7fd61fb9b8aabdcde2b564ecf87b2a48a5b347b25e25", kill_on_drop: false }` [INFO] [stdout] 1b9eec0f422356f6440d7fd61fb9b8aabdcde2b564ecf87b2a48a5b347b25e25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0f9b6b7dc24dee94be5e2c9f6f5ac7f8c973ca950699b66c55b18f05c580a812 [INFO] running `Command { std: "docker" "start" "-a" "0f9b6b7dc24dee94be5e2c9f6f5ac7f8c973ca950699b66c55b18f05c580a812", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Checking arrayvec v0.4.8 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.3 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling heck v0.3.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling encoding_rs v0.8.13 [INFO] [stderr] Checking stb_truetype v0.2.4 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking pom v1.1.0 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking getopts v0.2.18 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking approx v0.3.0 [INFO] [stderr] Checking rusttype v0.7.3 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking lopdf v0.17.0 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.2.13 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking failure v0.1.3 [INFO] [stderr] Checking quick-xml v0.13.1 [INFO] [stderr] Checking structopt v0.2.13 [INFO] [stderr] Checking clap-verbosity-flag v0.1.0 [INFO] [stderr] Checking tiff v0.2.1 [INFO] [stderr] Checking image v0.20.1 [INFO] [stderr] Checking printpdf v0.2.10 [INFO] [stderr] Checking quicli v0.3.1 [INFO] [stderr] Checking mdproof v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/atomizer.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | List(Option), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BlockTag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 49 | List(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `queue_font` is never used [INFO] [stdout] --> src/resources.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Loader { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 21 | fn queue_font(&mut self, path: &str); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_config` is never used [INFO] [stdout] --> src/resources.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Resources { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn set_config(&mut self, config: Config) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BlockQuote`, `Note`, `Link`, and `Superscript` are never constructed [INFO] [stdout] --> src/style.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Class { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | BlockQuote(u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | Note, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Link, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | Superscript, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Class` 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/atomizer.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new(parser: Parser<'src>) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | current_style: Style::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] = 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/atomizer.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 123 | let style = self.current_style.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | Some(Event::Atom(Atom::Text { text, style })), [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/pages.rs:82:61 [INFO] [stdout] | [INFO] [stdout] 82 | lines.iter().map(|x| Section::Plain(x.to_vec())).collect(); [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/util.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 14 | .map(|g| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | / g.standalone() [INFO] [stdout] 16 | | .get_data() [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 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/atomizer.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | List(Option), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BlockTag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 49 | List(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mdproof` (lib test) due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `queue_font` is never used [INFO] [stdout] --> src/resources.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Loader { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 21 | fn queue_font(&mut self, path: &str); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_config` is never used [INFO] [stdout] --> src/resources.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Resources { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn set_config(&mut self, config: Config) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BlockQuote`, `Note`, `Link`, and `Superscript` are never constructed [INFO] [stdout] --> src/style.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Class { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | BlockQuote(u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | Note, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Link, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | Superscript, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Class` 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/atomizer.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new(parser: Parser<'src>) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | current_style: Style::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] = 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/atomizer.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 123 | let style = self.current_style.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | Some(Event::Atom(Atom::Text { text, style })), [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/pages.rs:82:61 [INFO] [stdout] | [INFO] [stdout] 82 | lines.iter().map(|x| Section::Plain(x.to_vec())).collect(); [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/util.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 14 | .map(|g| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | / g.standalone() [INFO] [stdout] 16 | | .get_data() [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 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mdproof` (lib) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0f9b6b7dc24dee94be5e2c9f6f5ac7f8c973ca950699b66c55b18f05c580a812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f9b6b7dc24dee94be5e2c9f6f5ac7f8c973ca950699b66c55b18f05c580a812", kill_on_drop: false }` [INFO] [stdout] 0f9b6b7dc24dee94be5e2c9f6f5ac7f8c973ca950699b66c55b18f05c580a812