[INFO] fetching crate notify 4.0.18... [INFO] checking notify-4.0.18 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate notify 4.0.18 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate notify 4.0.18 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate notify 4.0.18 [INFO] finished tweaking crates.io crate notify 4.0.18 [INFO] tweaked toml for crates.io crate notify 4.0.18 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate notify 4.0.18 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcb995340377f51ad675e10c7a0396b74f6afab4da6f3c3e8c27c4be4d7d97f7 [INFO] running `Command { std: "docker" "start" "-a" "bcb995340377f51ad675e10c7a0396b74f6afab4da6f3c3e8c27c4be4d7d97f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcb995340377f51ad675e10c7a0396b74f6afab4da6f3c3e8c27c4be4d7d97f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcb995340377f51ad675e10c7a0396b74f6afab4da6f3c3e8c27c4be4d7d97f7", kill_on_drop: false }` [INFO] [stdout] bcb995340377f51ad675e10c7a0396b74f6afab4da6f3c3e8c27c4be4d7d97f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2f7c84f86629f009cbb93962364280fd83bebdc11766eaeb7ee4f6b3f474af9 [INFO] running `Command { std: "docker" "start" "-a" "c2f7c84f86629f009cbb93962364280fd83bebdc11766eaeb7ee4f6b3f474af9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking linux-raw-sys v0.3.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/inotify.rs:332:24 [INFO] [stdout] | [INFO] [stdout] 332 | let metadata = try!(metadata(&path).map_err(Error::Io)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/inotify.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | try!(self.add_single_watch(entry.path().to_path_buf(), is_recursive, watch_self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/inotify.rs:395:21 [INFO] [stdout] | [INFO] [stdout] 395 | try!(inotify.rm_watch(w.clone()).map_err(Error::Io)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/inotify.rs:402:33 [INFO] [stdout] | [INFO] [stdout] 402 | ... try!(inotify.rm_watch(w.clone()).map_err(Error::Io)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/inotify.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | try!(inotify.rm_watch(w.clone()).map_err(Error::Io)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/inotify.rs:467:21 [INFO] [stdout] | [INFO] [stdout] 467 | let p = try!(env::current_dir().map_err(Error::Io)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/inotify.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | let p = try!(env::current_dir().map_err(Error::Io)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:461:17 [INFO] [stdout] | [INFO] [stdout] 461 | (a1 == b1 && a2 == b2) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 461 - (a1 == b1 && a2 == b2) [INFO] [stdout] 461 + a1 == b1 && a2 == b2 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:513:32 [INFO] [stdout] | [INFO] [stdout] 513 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 513 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:493:39 [INFO] [stdout] | [INFO] [stdout] 493 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempfile v3.5.0 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/monitor_raw.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | try!(watcher.watch(path, RecursiveMode::Recursive)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/monitor_raw.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | let mut watcher: RecommendedWatcher = try!(Watcher::new_raw(tx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/monitor_debounced.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | try!(watcher.watch(path, RecursiveMode::Recursive)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/monitor_debounced.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | let mut watcher: RecommendedWatcher = try!(Watcher::new(tx, Duration::from_secs(2))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_eq_any` [INFO] [stdout] --> tests/utils/mod.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | macro_rules! assert_eq_any { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_eq_any` [INFO] [stdout] --> tests/utils/mod.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | macro_rules! assert_eq_any { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/inotify.rs:332:24 [INFO] [stdout] | [INFO] [stdout] 332 | let metadata = try!(metadata(&path).map_err(Error::Io)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/inotify.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | try!(self.add_single_watch(entry.path().to_path_buf(), is_recursive, watch_self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/inotify.rs:395:21 [INFO] [stdout] | [INFO] [stdout] 395 | try!(inotify.rm_watch(w.clone()).map_err(Error::Io)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/inotify.rs:402:33 [INFO] [stdout] | [INFO] [stdout] 402 | ... try!(inotify.rm_watch(w.clone()).map_err(Error::Io)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/inotify.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | try!(inotify.rm_watch(w.clone()).map_err(Error::Io)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/inotify.rs:467:21 [INFO] [stdout] | [INFO] [stdout] 467 | let p = try!(env::current_dir().map_err(Error::Io)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/inotify.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | let p = try!(env::current_dir().map_err(Error::Io)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:461:17 [INFO] [stdout] | [INFO] [stdout] 461 | (a1 == b1 && a2 == b2) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 461 - (a1 == b1 && a2 == b2) [INFO] [stdout] 461 + a1 == b1 && a2 == b2 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_eq_any` [INFO] [stdout] --> tests/utils/mod.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | macro_rules! assert_eq_any { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_eq_any` [INFO] [stdout] --> tests/utils/mod.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | macro_rules! assert_eq_any { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:513:32 [INFO] [stdout] | [INFO] [stdout] 513 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 513 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fail_after` is never used [INFO] [stdout] --> tests/utils/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn fail_after(test_name: &'static str, duration: Duration) -> impl Drop { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inflate_events` is never used [INFO] [stdout] --> tests/utils/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn inflate_events(input: Vec<(PathBuf, Op, Option)>) -> Vec<(PathBuf, Op, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_cookies` is never used [INFO] [stdout] --> tests/utils/mod.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn extract_cookies(events: &[(PathBuf, Op, Option)]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sleep` is never used [INFO] [stdout] --> tests/utils/mod.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn sleep(duration: u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_all`, `rename`, `chmod`, and `remove` are never used [INFO] [stdout] --> tests/utils/mod.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub trait TestHelpers { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 147 | fn create_all(&self, paths: Vec<&str>); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 148 | /// Rename file or directory. [INFO] [stdout] 149 | fn rename(&self, a: &str, b: &str); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 150 | /// Toggle "other" rights on linux and macOS and "readonly" on windows [INFO] [stdout] 151 | fn chmod(&self, p: &str); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn remove(&self, p: &str); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:493:39 [INFO] [stdout] | [INFO] [stdout] 493 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fail_after` is never used [INFO] [stdout] --> tests/utils/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn fail_after(test_name: &'static str, duration: Duration) -> impl Drop { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/debounce.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 141 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_millis(DELAY_MS)) [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | recv_events_debounced(&rx), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 163 | / vec![ [INFO] [stdout] 164 | | DebouncedEvent::NoticeWrite(tdir.mkpath("file1")), [INFO] [stdout] 165 | | DebouncedEvent::Write(tdir.mkpath("file1")), [INFO] [stdout] 166 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | vec![DebouncedEvent::Chmod(tdir.mkpath("file1")),] [INFO] [stdout] | -------------------------------------------------- these local bindings with significant drop implementation may 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] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/debounce.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 378 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 388 | let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_millis(DELAY_MS)) [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 399 | recv_events_debounced(&rx), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 400 | / vec![ [INFO] [stdout] 401 | | DebouncedEvent::NoticeRemove(tdir.mkpath("file2")), [INFO] [stdout] 402 | | DebouncedEvent::Create(tdir.mkpath("file2")), // even though the file is being overwritten, that can't be detected [INFO] [stdout] 403 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | / vec![ [INFO] [stdout] 409 | | DebouncedEvent::Create(tdir.mkpath("file2")), // even though the file is being overwritten, that can't be detected [INFO] [stdout] 410 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may 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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/debounce.rs:477:13 [INFO] [stdout] | [INFO] [stdout] 452 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 459 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 460 | let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_millis(DELAY_MS)) [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 477 | recv_events_debounced(&rx), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 478 | / vec![ [INFO] [stdout] 479 | | DebouncedEvent::Create(tdir.mkpath("file1")), [INFO] [stdout] 480 | | DebouncedEvent::NoticeRemove(tdir.mkpath("file1")), [INFO] [stdout] 481 | | DebouncedEvent::NoticeRemove(tdir.mkpath("file2")), [INFO] [stdout] ... | [INFO] [stdout] 484 | | DebouncedEvent::Create(tdir.mkpath("file3")), [INFO] [stdout] 485 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 490 | vec![DebouncedEvent::Create(tdir.mkpath("file3")),] [INFO] [stdout] | --------------------------------------------------- these local bindings with significant drop implementation may 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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/debounce.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 499 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 508 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 509 | let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_millis(DELAY_MS)) [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 522 | recv_events_debounced(&rx), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 523 | / vec![ [INFO] [stdout] 524 | | DebouncedEvent::Create(tdir.mkpath("watch_dir/file1")), [INFO] [stdout] 525 | | DebouncedEvent::NoticeRemove(tdir.mkpath("watch_dir/file2")), [INFO] [stdout] 526 | | DebouncedEvent::Create(tdir.mkpath("watch_dir/file2")), [INFO] [stdout] 527 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 532 | vec![DebouncedEvent::Create(tdir.mkpath("watch_dir/file2")),] [INFO] [stdout] | ------------------------------------------------------------- these local bindings with significant drop implementation may 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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/debounce.rs:574:17 [INFO] [stdout] | [INFO] [stdout] 543 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 552 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 553 | let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_millis(DELAY_MS)) [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 574 | recv_events_debounced(&rx), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 575 | / vec![ [INFO] [stdout] 576 | | DebouncedEvent::NoticeRemove(tdir.mkpath(&from)), [INFO] [stdout] 577 | | DebouncedEvent::Rename(tdir.mkpath(&from), tdir.mkpath(&to)), [INFO] [stdout] 578 | | ] [INFO] [stdout] | |_________________- these local bindings with significant drop implementation may 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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/debounce.rs:716:13 [INFO] [stdout] | [INFO] [stdout] 694 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 703 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 704 | let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_millis(DELAY_MS)) [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 716 | recv_events_debounced(&rx), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 717 | / vec![ [INFO] [stdout] 718 | | DebouncedEvent::NoticeWrite(tdir.mkpath("file1")), [INFO] [stdout] 719 | | DebouncedEvent::NoticeRemove(tdir.mkpath("file1")), [INFO] [stdout] 720 | | DebouncedEvent::Rename(tdir.mkpath("file1"), tdir.mkpath("file2")), [INFO] [stdout] 721 | | DebouncedEvent::Write(tdir.mkpath("file2")), [INFO] [stdout] 722 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 727 | / vec![ [INFO] [stdout] 728 | | DebouncedEvent::NoticeRemove(tdir.mkpath("file1")), [INFO] [stdout] 729 | | DebouncedEvent::Rename(tdir.mkpath("file1"), tdir.mkpath("file2")), [INFO] [stdout] 730 | | DebouncedEvent::Chmod(tdir.mkpath("file2")), [INFO] [stdout] 731 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may 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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/debounce.rs:761:13 [INFO] [stdout] | [INFO] [stdout] 738 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 747 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 748 | let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_millis(DELAY_MS)) [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 761 | recv_events_debounced(&rx), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 762 | / vec![ [INFO] [stdout] 763 | | DebouncedEvent::NoticeRemove(tdir.mkpath("file1")), [INFO] [stdout] 764 | | DebouncedEvent::NoticeWrite(tdir.mkpath("file2")), // TODO unnecessary [INFO] [stdout] 765 | | DebouncedEvent::Rename(tdir.mkpath("file1"), tdir.mkpath("file2")), [INFO] [stdout] 766 | | DebouncedEvent::Write(tdir.mkpath("file2")), [INFO] [stdout] 767 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 772 | / vec![ [INFO] [stdout] 773 | | DebouncedEvent::NoticeRemove(tdir.mkpath("file1")), [INFO] [stdout] 774 | | DebouncedEvent::Rename(tdir.mkpath("file1"), tdir.mkpath("file2")), [INFO] [stdout] 775 | | DebouncedEvent::Chmod(tdir.mkpath("file2")), [INFO] [stdout] 776 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may 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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/debounce.rs:893:13 [INFO] [stdout] | [INFO] [stdout] 870 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 877 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 878 | let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_millis(DELAY_MS)) [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 893 | recv_events_debounced(&rx), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 894 | / vec![ [INFO] [stdout] 895 | | DebouncedEvent::Create(tdir.mkpath("dir1")), [INFO] [stdout] 896 | | DebouncedEvent::Create(tdir.mkpath("dir1/dir2/file1")), [INFO] [stdout] 897 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 903 | / vec![ [INFO] [stdout] 904 | | DebouncedEvent::Create(tdir.mkpath("dir1")), [INFO] [stdout] 905 | | DebouncedEvent::Create(tdir.mkpath("dir1/dir2")), [INFO] [stdout] 906 | | DebouncedEvent::Create(tdir.mkpath("dir1/dir2/file1")), [INFO] [stdout] 907 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may 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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/debounce.rs:935:13 [INFO] [stdout] | [INFO] [stdout] 914 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 923 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 924 | let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_millis(DELAY_MS)) [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 935 | recv_events_debounced(&rx), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 936 | / vec![ [INFO] [stdout] 937 | | DebouncedEvent::NoticeWrite(tdir.mkpath("dir1")), [INFO] [stdout] 938 | | DebouncedEvent::Write(tdir.mkpath("dir1")), [INFO] [stdout] 939 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 944 | vec![DebouncedEvent::Chmod(tdir.mkpath("dir1")),] [INFO] [stdout] | ------------------------------------------------- these local bindings with significant drop implementation may 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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/debounce.rs:1165:13 [INFO] [stdout] | [INFO] [stdout] 1144 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1153 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1154 | let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_millis(DELAY_MS)) [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1165 | recv_events_debounced(&rx), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1166 | / vec![ [INFO] [stdout] 1167 | | DebouncedEvent::NoticeRemove(tdir.mkpath("dir2")), // even though the directory is being overwritten, that can't be detected [INFO] [stdout] 1168 | | DebouncedEvent::Create(tdir.mkpath("dir2")), // even though the directory is being overwritten, that can't be detected [INFO] [stdout] 1169 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1174 | / vec![ [INFO] [stdout] 1175 | | DebouncedEvent::Create(tdir.mkpath("dir2")), // even though the directory is being overwritten, that can't be detected [INFO] [stdout] 1176 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may 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] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/debounce.rs:1206:13 [INFO] [stdout] | [INFO] [stdout] 1183 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1192 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1193 | let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_millis(DELAY_MS)) [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1206 | recv_events_debounced(&rx), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1207 | / vec![ [INFO] [stdout] 1208 | | DebouncedEvent::NoticeWrite(tdir.mkpath("dir1")), [INFO] [stdout] 1209 | | DebouncedEvent::NoticeRemove(tdir.mkpath("dir1")), [INFO] [stdout] 1210 | | DebouncedEvent::Rename(tdir.mkpath("dir1"), tdir.mkpath("dir2")), [INFO] [stdout] 1211 | | DebouncedEvent::Write(tdir.mkpath("dir2")), [INFO] [stdout] 1212 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1217 | / vec![ [INFO] [stdout] 1218 | | DebouncedEvent::NoticeRemove(tdir.mkpath("dir1")), [INFO] [stdout] 1219 | | DebouncedEvent::Rename(tdir.mkpath("dir1"), tdir.mkpath("dir2")), [INFO] [stdout] 1220 | | DebouncedEvent::Chmod(tdir.mkpath("dir2")), [INFO] [stdout] 1221 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may 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: this value of type `std::result::Result<(), notify::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/watcher.rs:1065:11 [INFO] [stdout] | [INFO] [stdout] 1049 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1059 | let mut watcher: RecommendedWatcher = [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1065 | match watcher.unwatch(&tdir.mkpath("file1")) { [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: this value of type `std::result::Result<(), notify::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/watcher.rs:1089:11 [INFO] [stdout] | [INFO] [stdout] 1073 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1083 | let mut watcher: RecommendedWatcher = [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1089 | match watcher.unwatch(&tdir.mkpath("dir1")) { [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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/debounce.rs:1344:13 [INFO] [stdout] | [INFO] [stdout] 1321 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1330 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1331 | let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_millis(DELAY_MS)) [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1344 | recv_events_debounced(&rx), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1345 | / vec![ [INFO] [stdout] 1346 | | DebouncedEvent::NoticeWrite(tdir.mkpath("dir1")), [INFO] [stdout] 1347 | | DebouncedEvent::NoticeRemove(tdir.mkpath("dir1")), [INFO] [stdout] 1348 | | DebouncedEvent::Remove(tdir.mkpath("dir1")), [INFO] [stdout] 1349 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1354 | / vec![ [INFO] [stdout] 1355 | | DebouncedEvent::NoticeRemove(tdir.mkpath("dir1")), [INFO] [stdout] 1356 | | DebouncedEvent::Remove(tdir.mkpath("dir1")), [INFO] [stdout] 1357 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may 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: this value of type `std::result::Result<(), notify::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/watcher.rs:1109:11 [INFO] [stdout] | [INFO] [stdout] 1098 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1106 | let mut watcher: RecommendedWatcher = [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1109 | match watcher.unwatch(&tdir.mkpath("file1")) { [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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/debounce.rs:1460:13 [INFO] [stdout] | [INFO] [stdout] 1435 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1444 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1445 | let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_millis(DELAY_MS)) [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1460 | recv_events_debounced(&rx), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1461 | / vec![ [INFO] [stdout] 1462 | | DebouncedEvent::NoticeRemove(tdir.mkpath("file1")), [INFO] [stdout] 1463 | | DebouncedEvent::NoticeRemove(tdir.mkpath("file3")), [INFO] [stdout] 1464 | | DebouncedEvent::NoticeWrite(tdir.mkpath("file1")), [INFO] [stdout] 1465 | | DebouncedEvent::Rename(tdir.mkpath("file3"), tdir.mkpath("file1")), [INFO] [stdout] 1466 | | DebouncedEvent::Write(tdir.mkpath("file1")), [INFO] [stdout] 1467 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1472 | / vec![ [INFO] [stdout] 1473 | | DebouncedEvent::NoticeRemove(tdir.mkpath("file1")), [INFO] [stdout] 1474 | | DebouncedEvent::NoticeRemove(tdir.mkpath("file3")), [INFO] [stdout] 1475 | | DebouncedEvent::Rename(tdir.mkpath("file3"), tdir.mkpath("file1")), [INFO] [stdout] 1476 | | ] [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may 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: this value of type `std::result::Result<(), notify::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/watcher.rs:1166:15 [INFO] [stdout] | [INFO] [stdout] 1118 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1127 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1128 | let mut watcher: RecommendedWatcher = [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1166 | match watcher.unwatch(&tdir.mkpath("file1")) { [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: this value of type `std::result::Result<(), notify::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/watcher.rs:1234:15 [INFO] [stdout] | [INFO] [stdout] 1177 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1186 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1187 | let mut watcher: RecommendedWatcher = [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1234 | match watcher.unwatch(&tdir.mkpath("dir1")) { [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: this value of type `notify::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/watcher.rs:1334:13 [INFO] [stdout] | [INFO] [stdout] 1245 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1254 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1255 | let mut watcher: RecommendedWatcher = [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1331 | let result = watcher.unwatch(&tdir.mkpath("file1")); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1334 | Err(e) => panic!("{:?}", e), [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: this value of type `notify::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/watcher.rs:1435:17 [INFO] [stdout] | [INFO] [stdout] 1341 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1350 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1351 | let mut watcher: RecommendedWatcher = [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1432 | let result = watcher.unwatch(&tdir.mkpath("dir1")); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1435 | Err(e) => panic!("{:?}", e), [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: this value of type `notify::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/watcher.rs:1518:17 [INFO] [stdout] | [INFO] [stdout] 1449 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1458 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1459 | let mut watcher: RecommendedWatcher = [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1515 | let result = watcher.unwatch(&tdir.mkpath("dir1/file1")); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1518 | Err(e) => panic!("{:?}", e), [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: this value of type `notify::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/watcher.rs:1615:13 [INFO] [stdout] | [INFO] [stdout] 1538 | let tdir = tempfile::Builder::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1547 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1548 | let mut watcher: RecommendedWatcher = [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1612 | let result = watcher.unwatch(&tdir.mkpath("dir1/watch_dir")); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1615 | Err(e) => panic!("{:?}", e), [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: function `fail_after` is never used [INFO] [stdout] --> tests/utils/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn fail_after(test_name: &'static str, duration: Duration) -> impl Drop { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `chmod` is never used [INFO] [stdout] --> tests/utils/mod.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub trait TestHelpers { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 151 | fn chmod(&self, p: &str); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `notify` (test "debounce") due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `notify` (test "watcher") due to 10 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c2f7c84f86629f009cbb93962364280fd83bebdc11766eaeb7ee4f6b3f474af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2f7c84f86629f009cbb93962364280fd83bebdc11766eaeb7ee4f6b3f474af9", kill_on_drop: false }` [INFO] [stdout] c2f7c84f86629f009cbb93962364280fd83bebdc11766eaeb7ee4f6b3f474af9