[INFO] fetching crate uu_pr 0.0.27... [INFO] checking uu_pr-0.0.27 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate uu_pr 0.0.27 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate uu_pr 0.0.27 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 uu_pr 0.0.27 [INFO] finished tweaking crates.io crate uu_pr 0.0.27 [INFO] tweaked toml for crates.io crate uu_pr 0.0.27 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate uu_pr 0.0.27 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-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] 894845bca073c786a3b0a34a5a5746e4522986d386fd3470c2863838fd636463 [INFO] running `Command { std: "docker" "start" "-a" "894845bca073c786a3b0a34a5a5746e4522986d386fd3470c2863838fd636463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "894845bca073c786a3b0a34a5a5746e4522986d386fd3470c2863838fd636463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "894845bca073c786a3b0a34a5a5746e4522986d386fd3470c2863838fd636463", kill_on_drop: false }` [INFO] [stdout] 894845bca073c786a3b0a34a5a5746e4522986d386fd3470c2863838fd636463 [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] a394f7cbb6ff4589a1e474fa66d19386238b1acde0298f52b7ca27b79acf32ed [INFO] running `Command { std: "docker" "start" "-a" "a394f7cbb6ff4589a1e474fa66d19386238b1acde0298f52b7ca27b79acf32ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.26 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling uuhelp_parser v0.0.27 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking wild v2.2.1 [INFO] [stderr] Checking os_display v0.1.3 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling uucore_procs v0.0.27 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking regex-automata v0.4.4 [INFO] [stderr] Checking terminal_size v0.2.6 [INFO] [stderr] Checking clap_builder v4.4.2 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking clap v4.4.2 [INFO] [stderr] Checking uucore v0.0.27 [INFO] [stderr] Checking uu_pr v0.0.27 (/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/pr.rs:805:33 [INFO] [stdout] | [INFO] [stdout] 805 | .unwrap_or_else(|_| Err(PrError::NotExists(path.to_string()))) [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] = 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/pr.rs:809:5 [INFO] [stdout] | [INFO] [stdout] 808 | fn split_lines_if_form_feed(file_content: Result) -> Vec { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 809 | / file_content [INFO] [stdout] 810 | | .map(|content| { [INFO] [stdout] 811 | | let mut lines = Vec::new(); [INFO] [stdout] 812 | | let mut f_occurred = 0; [INFO] [stdout] ... | [INFO] [stdout] 838 | | lines [INFO] [stdout] 839 | | }) [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/pr.rs:873:9 [INFO] [stdout] | [INFO] [stdout] 864 | lines: Lines>>, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 873 | / lines [INFO] [stdout] 874 | | .flat_map(split_lines_if_form_feed) [INFO] [stdout] 875 | | .enumerate() [INFO] [stdout] 876 | | .map(move |(i, line)| FileLine { [INFO] [stdout] ... | [INFO] [stdout] 920 | | && last_page.map_or(true, |last_page| current_page <= last_page) [INFO] [stdout] 921 | | }), [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/pr.rs:939:13 [INFO] [stdout] | [INFO] [stdout] 937 | let lines = BufReader::with_capacity(READ_BUFFER_SIZE, open(path).unwrap()).lines(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 938 | [INFO] [stdout] 939 | read_stream_and_create_pages(options, lines, i).flat_map(move |(x, line)| { [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/pr.rs:942:17 [INFO] [stdout] | [INFO] [stdout] 939 | read_stream_and_create_pages(options, lines, i).flat_map(move |(x, line)| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 940 | let file_line = line; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 941 | let page_number = x + 1; [INFO] [stdout] 942 | / file_line [INFO] [stdout] 943 | | .into_iter() [INFO] [stdout] 944 | | .map(|fl| FileLine { [INFO] [stdout] 945 | | page_number, [INFO] [stdout] 946 | | group_key: page_number * n_files + fl.file_id, [INFO] [stdout] 947 | | ..fl [INFO] [stdout] 948 | | }) [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 [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/pr.rs:805:33 [INFO] [stdout] | [INFO] [stdout] 805 | .unwrap_or_else(|_| Err(PrError::NotExists(path.to_string()))) [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] = 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/pr.rs:809:5 [INFO] [stdout] | [INFO] [stdout] 808 | fn split_lines_if_form_feed(file_content: Result) -> Vec { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 809 | / file_content [INFO] [stdout] 810 | | .map(|content| { [INFO] [stdout] 811 | | let mut lines = Vec::new(); [INFO] [stdout] 812 | | let mut f_occurred = 0; [INFO] [stdout] ... | [INFO] [stdout] 838 | | lines [INFO] [stdout] 839 | | }) [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/pr.rs:873:9 [INFO] [stdout] | [INFO] [stdout] 864 | lines: Lines>>, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 873 | / lines [INFO] [stdout] 874 | | .flat_map(split_lines_if_form_feed) [INFO] [stdout] 875 | | .enumerate() [INFO] [stdout] 876 | | .map(move |(i, line)| FileLine { [INFO] [stdout] ... | [INFO] [stdout] 920 | | && last_page.map_or(true, |last_page| current_page <= last_page) [INFO] [stdout] 921 | | }), [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/pr.rs:939:13 [INFO] [stdout] | [INFO] [stdout] 937 | let lines = BufReader::with_capacity(READ_BUFFER_SIZE, open(path).unwrap()).lines(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 938 | [INFO] [stdout] 939 | read_stream_and_create_pages(options, lines, i).flat_map(move |(x, line)| { [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/pr.rs:942:17 [INFO] [stdout] | [INFO] [stdout] 939 | read_stream_and_create_pages(options, lines, i).flat_map(move |(x, line)| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 940 | let file_line = line; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 941 | let page_number = x + 1; [INFO] [stdout] 942 | / file_line [INFO] [stdout] 943 | | .into_iter() [INFO] [stdout] 944 | | .map(|fl| FileLine { [INFO] [stdout] 945 | | page_number, [INFO] [stdout] 946 | | group_key: page_number * n_files + fl.file_id, [INFO] [stdout] 947 | | ..fl [INFO] [stdout] 948 | | }) [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] [stderr] error: could not compile `uu_pr` (lib test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uu_pr` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "a394f7cbb6ff4589a1e474fa66d19386238b1acde0298f52b7ca27b79acf32ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a394f7cbb6ff4589a1e474fa66d19386238b1acde0298f52b7ca27b79acf32ed", kill_on_drop: false }` [INFO] [stdout] a394f7cbb6ff4589a1e474fa66d19386238b1acde0298f52b7ca27b79acf32ed