[INFO] fetching crate anotify 0.1.3... [INFO] checking anotify-0.1.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate anotify 0.1.3 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate anotify 0.1.3 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] removed /workspace/builds/worker-7-tc2/source/.cargo/config [INFO] started tweaking crates.io crate anotify 0.1.3 [INFO] finished tweaking crates.io crate anotify 0.1.3 [INFO] tweaked toml for crates.io crate anotify 0.1.3 written to /workspace/builds/worker-7-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 68 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding memoffset v0.6.5 (latest: v0.9.1) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding nix v0.25.1 (latest: v0.29.0) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding remove_dir_all v0.5.3 (latest: v0.8.3) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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] f5ff5a0cbeeaa4e9dc8d3c55022aa9e2b32040d6212408c6546ac75f204e1e1f [INFO] running `Command { std: "docker" "start" "-a" "f5ff5a0cbeeaa4e9dc8d3c55022aa9e2b32040d6212408c6546ac75f204e1e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5ff5a0cbeeaa4e9dc8d3c55022aa9e2b32040d6212408c6546ac75f204e1e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5ff5a0cbeeaa4e9dc8d3c55022aa9e2b32040d6212408c6546ac75f204e1e1f", kill_on_drop: false }` [INFO] [stdout] f5ff5a0cbeeaa4e9dc8d3c55022aa9e2b32040d6212408c6546ac75f204e1e1f [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] 6dbfb03b88d708c2f600783966e6e9a59a019faffe3c5f82c13eed33760e39d6 [INFO] running `Command { std: "docker" "start" "-a" "6dbfb03b88d708c2f600783966e6e9a59a019faffe3c5f82c13eed33760e39d6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking anotify v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `displaydoc::Display` [INFO] [stdout] --> src/task/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use displaydoc::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/task/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/task/mod.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | if #[cfg(all(tokio_unstable, feature = "tracing"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `displaydoc::Display` [INFO] [stdout] --> src/task/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use displaydoc::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/task/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/task/mod.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | if #[cfg(all(tokio_unstable, feature = "tracing"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token`, `handle`, and `closed` are never read [INFO] [stdout] --> src/futures.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct FileWatchFuture { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 77 | pub(crate) inner: OnceRecv, [INFO] [stdout] 78 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 79 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | pub(crate) closed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token` and `handle` are never read [INFO] [stdout] --> src/futures.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct FileWatchStream { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 83 | pub(crate) inner: ReceiverStream, [INFO] [stdout] 84 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 85 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token`, `handle`, and `closed` are never read [INFO] [stdout] --> src/futures.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct DirectoryWatchFuture { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 88 | pub(crate) inner: OnceRecv, [INFO] [stdout] 89 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 90 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | pub(crate) closed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token` and `handle` are never read [INFO] [stdout] --> src/futures.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct DirectoryWatchStream { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 94 | pub(crate) inner: ReceiverStream, [INFO] [stdout] 95 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [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:32:8 [INFO] [stdout] | [INFO] [stdout] 22 | let (request_tx, request_rx) = tokio::sync::mpsc::channel(OwnedHandle::DEFAULT_REQUEST_BUFFER); [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] 23 | let inner = Handle { request_tx }; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let (shutdown_tx, shutdown_rx) = tokio::sync::oneshot::channel(); [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] 25 | [INFO] [stdout] 26 | let join = task::WatcherState::launch(Box::new(task::WatcherState::new( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Ok(OwnedHandle { [INFO] [stdout] | ________^ [INFO] [stdout] 33 | | inner, [INFO] [stdout] 34 | | join, [INFO] [stdout] 35 | | shutdown: shutdown_tx, [INFO] [stdout] 36 | | }) [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] | [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/task/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 49 | request_rx: MpscRecv, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | shutdown: OnceRecv<()>, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let instance = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let clean_interval = clean_duration.map(|duration| { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 63 | | instance, [INFO] [stdout] 64 | | request_rx, [INFO] [stdout] 65 | | shutdown, [INFO] [stdout] 66 | | clean_interval, [INFO] [stdout] 67 | | watches: Default::default(), [INFO] [stdout] 68 | | }) [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] | [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/task/mod.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn launch(self: Box) -> JoinHandle<()> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | tokio::spawn(self.run()) [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/task/mod.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | watch_token_tx.send(*wd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 295 | let _ = watch_token_tx.send(*wd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/task/mod.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | watch_token_tx.send(wd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 306 | let _ = watch_token_tx.send(wd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `anotify` (lib) due to 4 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `watch_token`, `handle`, and `closed` are never read [INFO] [stdout] --> src/futures.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct FileWatchFuture { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 77 | pub(crate) inner: OnceRecv, [INFO] [stdout] 78 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 79 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | pub(crate) closed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token` and `handle` are never read [INFO] [stdout] --> src/futures.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct FileWatchStream { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 83 | pub(crate) inner: ReceiverStream, [INFO] [stdout] 84 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 85 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token`, `handle`, and `closed` are never read [INFO] [stdout] --> src/futures.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct DirectoryWatchFuture { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 88 | pub(crate) inner: OnceRecv, [INFO] [stdout] 89 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 90 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | pub(crate) closed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `watch_token` and `handle` are never read [INFO] [stdout] --> src/futures.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct DirectoryWatchStream { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 94 | pub(crate) inner: ReceiverStream, [INFO] [stdout] 95 | pub(crate) watch_token: WatchDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [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:32:8 [INFO] [stdout] | [INFO] [stdout] 22 | let (request_tx, request_rx) = tokio::sync::mpsc::channel(OwnedHandle::DEFAULT_REQUEST_BUFFER); [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] 23 | let inner = Handle { request_tx }; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let (shutdown_tx, shutdown_rx) = tokio::sync::oneshot::channel(); [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] 25 | [INFO] [stdout] 26 | let join = task::WatcherState::launch(Box::new(task::WatcherState::new( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Ok(OwnedHandle { [INFO] [stdout] | ________^ [INFO] [stdout] 33 | | inner, [INFO] [stdout] 34 | | join, [INFO] [stdout] 35 | | shutdown: shutdown_tx, [INFO] [stdout] 36 | | }) [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] | [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/task/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 49 | request_rx: MpscRecv, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | shutdown: OnceRecv<()>, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let instance = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let clean_interval = clean_duration.map(|duration| { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 63 | | instance, [INFO] [stdout] 64 | | request_rx, [INFO] [stdout] 65 | | shutdown, [INFO] [stdout] 66 | | clean_interval, [INFO] [stdout] 67 | | watches: Default::default(), [INFO] [stdout] 68 | | }) [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] | [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/task/mod.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn launch(self: Box) -> JoinHandle<()> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | tokio::spawn(self.run()) [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/task/mod.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | watch_token_tx.send(*wd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 295 | let _ = watch_token_tx.send(*wd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/task/mod.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | watch_token_tx.send(wd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 306 | let _ = watch_token_tx.send(wd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `anotify` (lib test) due to 4 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6dbfb03b88d708c2f600783966e6e9a59a019faffe3c5f82c13eed33760e39d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dbfb03b88d708c2f600783966e6e9a59a019faffe3c5f82c13eed33760e39d6", kill_on_drop: false }` [INFO] [stdout] 6dbfb03b88d708c2f600783966e6e9a59a019faffe3c5f82c13eed33760e39d6