[INFO] fetching crate move-it 0.2.4... [INFO] checking move-it-0.2.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate move-it 0.2.4 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate move-it 0.2.4 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 move-it 0.2.4 [INFO] finished tweaking crates.io crate move-it 0.2.4 [INFO] tweaked toml for crates.io crate move-it 0.2.4 written to /workspace/builds/worker-1-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 83 packages to latest compatible versions [INFO] [stderr] Adding dirs v4.0.0 (latest: v5.0.1) [INFO] [stderr] Adding dirs-sys v0.3.7 (latest: v0.4.1) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding mio v0.8.11 (latest: v1.0.2) [INFO] [stderr] Adding shellexpand v2.1.2 (latest: v3.1.0) [INFO] [stderr] Adding socket2 v0.4.10 (latest: v0.5.7) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding tokio v1.19.2 (latest: v1.40.0) [INFO] [stderr] Adding tokio-macros v1.8.2 (latest: v2.4.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d3257b8db6534ee595acfc3ce63076b0017b63c941239131c98110a56705fb96 [INFO] running `Command { std: "docker" "start" "-a" "d3257b8db6534ee595acfc3ce63076b0017b63c941239131c98110a56705fb96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3257b8db6534ee595acfc3ce63076b0017b63c941239131c98110a56705fb96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3257b8db6534ee595acfc3ce63076b0017b63c941239131c98110a56705fb96", kill_on_drop: false }` [INFO] [stdout] d3257b8db6534ee595acfc3ce63076b0017b63c941239131c98110a56705fb96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a2182d31b6a58ff8b6a52950cb07b2e556423f959fb02b2164274f63258cfe29 [INFO] running `Command { std: "docker" "start" "-a" "a2182d31b6a58ff8b6a52950cb07b2e556423f959fb02b2164274f63258cfe29", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling assert2-macros v0.3.15 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking shellexpand v2.1.2 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking assert2 v0.3.15 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking move-it v0.2.4 (/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/work/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn add_work(self, adder: Adder) -> Result> [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] ... [INFO] [stdout] 38 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 39 | | elements: adder(self.elements), [INFO] [stdout] 40 | | }) [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/work/action.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 12 | self.add_work(move |elements| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | / elements [INFO] [stdout] 14 | | .filter_map(move |element| { [INFO] [stdout] 15 | | let target = target.clone(); [INFO] [stdout] 16 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | }) [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/work/action.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 33 | self.add_work(move |elements| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | / elements [INFO] [stdout] 35 | | .filter_map(move |element| { [INFO] [stdout] 36 | | let target = target.clone(); [INFO] [stdout] 37 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | }) [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/work/action.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 62 | self.add_work(move |elements| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | / elements [INFO] [stdout] 64 | | .filter_map(move |element| { [INFO] [stdout] 65 | | let target = target.clone(); [INFO] [stdout] 66 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [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/work/filter.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn include(self, re: impl Into) -> Result> { [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] 8 | let re = regex::Regex::new(&re.into())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | [INFO] [stdout] 10 | self.add_work(move |elements| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 11 | | elements [INFO] [stdout] 12 | | .filter(move |element| { [INFO] [stdout] 13 | | future::ready( [INFO] [stdout] ... | [INFO] [stdout] 17 | | .boxed() [INFO] [stdout] 18 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/work/filter.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 8 | let re = regex::Regex::new(&re.into())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | [INFO] [stdout] 10 | self.add_work(move |elements| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | / elements [INFO] [stdout] 12 | | .filter(move |element| { [INFO] [stdout] 13 | | future::ready( [INFO] [stdout] 14 | | re.is_match(element.get_file().path().as_path().to_str().unwrap()), [INFO] [stdout] 15 | | ) [INFO] [stdout] 16 | | }) [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/work/filter.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn exclude(self, re: impl Into) -> Result> { [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] 22 | let re = regex::Regex::new(&re.into())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | [INFO] [stdout] 24 | self.add_work(move |elements| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 25 | | elements [INFO] [stdout] 26 | | .filter(move |element| { [INFO] [stdout] 27 | | future::ready( [INFO] [stdout] ... | [INFO] [stdout] 31 | | .boxed() [INFO] [stdout] 32 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/work/filter.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 22 | let re = regex::Regex::new(&re.into())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | [INFO] [stdout] 24 | self.add_work(move |elements| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | / elements [INFO] [stdout] 26 | | .filter(move |element| { [INFO] [stdout] 27 | | future::ready( [INFO] [stdout] 28 | | !re.is_match(element.get_file().path().as_path().to_str().unwrap()), [INFO] [stdout] 29 | | ) [INFO] [stdout] 30 | | }) [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/work/producer.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn all_files_recursive(self, path: impl Into) -> Result> { [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] ... [INFO] [stdout] 14 | let dir_entries = visit(path.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let new_elements = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | self.add_work(move |elements| elements.chain(new_elements).boxed()) [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/work/producer.rs:16:72 [INFO] [stdout] | [INFO] [stdout] 16 | dir_entries.map(move |entry| Element::create(path.clone(), entry.unwrap())); [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] [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/work/producer.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 15 | let new_elements = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | self.add_work(move |elements| elements.chain(new_elements).boxed()) [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] [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/work/producer.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn visit(path: impl Into) -> impl Stream> + Send + 'static { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | / stream::unfold(vec![path.into()], |mut to_visit| async { [INFO] [stdout] 39 | | let path = to_visit.pop()?; [INFO] [stdout] 40 | | let file_stream = match one_level(path, &mut to_visit).await { [INFO] [stdout] 41 | | Ok(files) => stream::iter(files).map(Ok).left_stream(), [INFO] [stdout] ... | [INFO] [stdout] 45 | | Some((file_stream, to_visit)) [INFO] [stdout] 46 | | }) [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/work/producer.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 40 | let file_stream = match one_level(path, &mut to_visit).await { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | Ok(files) => stream::iter(files).map(Ok).left_stream(), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | Err(e) => stream::once(async { Err(e) }).right_stream(), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Some((file_stream, to_visit)) [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 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/work/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn add_work(self, adder: Adder) -> Result> [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] ... [INFO] [stdout] 38 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 39 | | elements: adder(self.elements), [INFO] [stdout] 40 | | }) [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/work/action.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 12 | self.add_work(move |elements| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | / elements [INFO] [stdout] 14 | | .filter_map(move |element| { [INFO] [stdout] 15 | | let target = target.clone(); [INFO] [stdout] 16 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | }) [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/work/action.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 33 | self.add_work(move |elements| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | / elements [INFO] [stdout] 35 | | .filter_map(move |element| { [INFO] [stdout] 36 | | let target = target.clone(); [INFO] [stdout] 37 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | }) [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/work/action.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 62 | self.add_work(move |elements| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | / elements [INFO] [stdout] 64 | | .filter_map(move |element| { [INFO] [stdout] 65 | | let target = target.clone(); [INFO] [stdout] 66 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [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/work/filter.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn include(self, re: impl Into) -> Result> { [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] 8 | let re = regex::Regex::new(&re.into())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | [INFO] [stdout] 10 | self.add_work(move |elements| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 11 | | elements [INFO] [stdout] 12 | | .filter(move |element| { [INFO] [stdout] 13 | | future::ready( [INFO] [stdout] ... | [INFO] [stdout] 17 | | .boxed() [INFO] [stdout] 18 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/work/filter.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 8 | let re = regex::Regex::new(&re.into())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | [INFO] [stdout] 10 | self.add_work(move |elements| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | / elements [INFO] [stdout] 12 | | .filter(move |element| { [INFO] [stdout] 13 | | future::ready( [INFO] [stdout] 14 | | re.is_match(element.get_file().path().as_path().to_str().unwrap()), [INFO] [stdout] 15 | | ) [INFO] [stdout] 16 | | }) [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/work/filter.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn exclude(self, re: impl Into) -> Result> { [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] 22 | let re = regex::Regex::new(&re.into())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | [INFO] [stdout] 24 | self.add_work(move |elements| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 25 | | elements [INFO] [stdout] 26 | | .filter(move |element| { [INFO] [stdout] 27 | | future::ready( [INFO] [stdout] ... | [INFO] [stdout] 31 | | .boxed() [INFO] [stdout] 32 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/work/filter.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 22 | let re = regex::Regex::new(&re.into())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | [INFO] [stdout] 24 | self.add_work(move |elements| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | / elements [INFO] [stdout] 26 | | .filter(move |element| { [INFO] [stdout] 27 | | future::ready( [INFO] [stdout] 28 | | !re.is_match(element.get_file().path().as_path().to_str().unwrap()), [INFO] [stdout] 29 | | ) [INFO] [stdout] 30 | | }) [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/work/producer.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn all_files_recursive(self, path: impl Into) -> Result> { [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] ... [INFO] [stdout] 14 | let dir_entries = visit(path.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let new_elements = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | self.add_work(move |elements| elements.chain(new_elements).boxed()) [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/work/producer.rs:16:72 [INFO] [stdout] | [INFO] [stdout] 16 | dir_entries.map(move |entry| Element::create(path.clone(), entry.unwrap())); [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] [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/work/producer.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 15 | let new_elements = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | self.add_work(move |elements| elements.chain(new_elements).boxed()) [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] [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/work/producer.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn visit(path: impl Into) -> impl Stream> + Send + 'static { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | / stream::unfold(vec![path.into()], |mut to_visit| async { [INFO] [stdout] 39 | | let path = to_visit.pop()?; [INFO] [stdout] 40 | | let file_stream = match one_level(path, &mut to_visit).await { [INFO] [stdout] 41 | | Ok(files) => stream::iter(files).map(Ok).left_stream(), [INFO] [stdout] ... | [INFO] [stdout] 45 | | Some((file_stream, to_visit)) [INFO] [stdout] 46 | | }) [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/work/producer.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 40 | let file_stream = match one_level(path, &mut to_visit).await { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | Ok(files) => stream::iter(files).map(Ok).left_stream(), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | Err(e) => stream::once(async { Err(e) }).right_stream(), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Some((file_stream, to_visit)) [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] [INFO] [stdout] [INFO] [stderr] error: could not compile `move-it` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `move-it` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "a2182d31b6a58ff8b6a52950cb07b2e556423f959fb02b2164274f63258cfe29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2182d31b6a58ff8b6a52950cb07b2e556423f959fb02b2164274f63258cfe29", kill_on_drop: false }` [INFO] [stdout] a2182d31b6a58ff8b6a52950cb07b2e556423f959fb02b2164274f63258cfe29