[INFO] fetching crate hugo_to_json 0.3.9... [INFO] checking hugo_to_json-0.3.9 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate hugo_to_json 0.3.9 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate hugo_to_json 0.3.9 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 hugo_to_json 0.3.9 [INFO] finished tweaking crates.io crate hugo_to_json 0.3.9 [INFO] tweaked toml for crates.io crate hugo_to_json 0.3.9 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate hugo_to_json 0.3.9 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7db95de8623726c7a22adcb05de40f4e28c848a8acb433065f681c50a8a4bff5 [INFO] running `Command { std: "docker" "start" "-a" "7db95de8623726c7a22adcb05de40f4e28c848a8acb433065f681c50a8a4bff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7db95de8623726c7a22adcb05de40f4e28c848a8acb433065f681c50a8a4bff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7db95de8623726c7a22adcb05de40f4e28c848a8acb433065f681c50a8a4bff5", kill_on_drop: false }` [INFO] [stdout] 7db95de8623726c7a22adcb05de40f4e28c848a8acb433065f681c50a8a4bff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f5d8dcdf305c7ae557389a097bb815e2e8e78821a4f54fcd079487af5cd9b0b2 [INFO] running `Command { std: "docker" "start" "-a" "f5d8dcdf305c7ae557389a097bb815e2e8e78821a4f54fcd079487af5cd9b0b2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pulldown-cmark v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking getopts v0.2.19 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking predicates-core v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking predicates-tree v1.0.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking strip_markdown v0.2.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking predicates v1.0.7 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking assert_cmd v1.0.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking hugo_to_json v0.3.9 (/opt/rustwide/workdir) [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/lib.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 58 | let index = traverser.traverse_files()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | [INFO] [stdout] 60 | let (oks, errors): (Vec<_>, Vec<_>) = index.into_iter().partition(Result::is_ok); [INFO] [stdout] | --- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let index: Vec<_> = oks.into_iter().map(Result::unwrap).collect(); [INFO] [stdout] 62 | let errors: Vec<_> = errors.into_iter().map(Result::unwrap_err).collect(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | [INFO] [stdout] 64 | Ok(TraverseResults::new(index, errors)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = 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/traverse/traverser.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 393 | let page_index = process_md_yaml_front_matter(&contents, &build_file_location(), false); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 396 | match page_index.unwrap_err() { [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/traverse/traverser.rs:438:15 [INFO] [stdout] | [INFO] [stdout] 435 | let page_index = process_md_yaml_front_matter(&contents, &build_file_location(), false); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 438 | match page_index.unwrap_err() { [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/traverse/traverser.rs:499:15 [INFO] [stdout] | [INFO] [stdout] 496 | let page_index = process_md_toml_front_matter(&contents, &build_file_location(), false); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 499 | match page_index.unwrap_err() { [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/traverse/traverser.rs:523:15 [INFO] [stdout] | [INFO] [stdout] 520 | let page_index = process_md_toml_front_matter(&contents, &build_file_location(), false); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 523 | match page_index.unwrap_err() { [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/traverse/traverser.rs:547:15 [INFO] [stdout] | [INFO] [stdout] 544 | let page_index = process_md_toml_front_matter(&contents, &build_file_location(), false); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 547 | match page_index.unwrap_err() { [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/traverse/traverser.rs:572:15 [INFO] [stdout] | [INFO] [stdout] 569 | let page_index = process_md_toml_front_matter(&contents, &build_file_location(), false); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 572 | match page_index.unwrap_err() { [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 7 previous errors [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/lib.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 58 | let index = traverser.traverse_files()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | [INFO] [stdout] 60 | let (oks, errors): (Vec<_>, Vec<_>) = index.into_iter().partition(Result::is_ok); [INFO] [stdout] | --- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let index: Vec<_> = oks.into_iter().map(Result::unwrap).collect(); [INFO] [stdout] 62 | let errors: Vec<_> = errors.into_iter().map(Result::unwrap_err).collect(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | [INFO] [stdout] 64 | Ok(TraverseResults::new(index, errors)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hugo_to_json` (lib test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hugo_to_json` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "f5d8dcdf305c7ae557389a097bb815e2e8e78821a4f54fcd079487af5cd9b0b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5d8dcdf305c7ae557389a097bb815e2e8e78821a4f54fcd079487af5cd9b0b2", kill_on_drop: false }` [INFO] [stdout] f5d8dcdf305c7ae557389a097bb815e2e8e78821a4f54fcd079487af5cd9b0b2