[INFO] cloning repository https://github.com/2lambda123/fd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2lambda123/fd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2lambda123%2Ffd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2lambda123%2Ffd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 247620887a0186e3b0b459b57842be664d9d84eb [INFO] checking 2lambda123/fd/247620887a0186e3b0b459b57842be664d9d84eb against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2lambda123%2Ffd" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/2lambda123/fd 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 git repo https://github.com/2lambda123/fd [INFO] finished tweaking git repo https://github.com/2lambda123/fd [INFO] tweaked toml for git repo https://github.com/2lambda123/fd written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/2lambda123/fd already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e619852c92ea9f917717aeea137e9c2441bc016e0c5e864a92d3e0cd713b5af4 [INFO] running `Command { std: "docker" "start" "-a" "e619852c92ea9f917717aeea137e9c2441bc016e0c5e864a92d3e0cd713b5af4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e619852c92ea9f917717aeea137e9c2441bc016e0c5e864a92d3e0cd713b5af4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e619852c92ea9f917717aeea137e9c2441bc016e0c5e864a92d3e0cd713b5af4", kill_on_drop: false }` [INFO] [stdout] e619852c92ea9f917717aeea137e9c2441bc016e0c5e864a92d3e0cd713b5af4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1426fca7ee391598e0074e786631eccf0643debc2c8128da7ad0af3f7c10275b [INFO] running `Command { std: "docker" "start" "-a" "1426fca7ee391598e0074e786631eccf0643debc2c8128da7ad0af3f7c10275b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.15 [INFO] [stderr] Checking bstr v1.7.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling fd-find v8.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Compiling jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking etcetera v0.8.0 [INFO] [stderr] Checking argmax v0.3.1 [INFO] [stderr] Checking lscolors v0.16.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking faccess v0.2.4 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking clap_builder v4.4.9 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking normpath v1.1.1 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling test-case-core v3.2.1 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking ctrlc v3.4.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling test-case-macros v3.2.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking ignore v0.4.21 [INFO] [stderr] Checking clap v4.4.10 [INFO] [stderr] Checking clap_complete v4.4.4 [INFO] [stderr] Checking jemallocator v0.5.4 [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] --> tests/tests.rs:1007:9 [INFO] [stdout] | [INFO] [stdout] 1004 | fn device_num(path: impl AsRef) -> u64 { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1007 | path.as_ref().metadata().map(|md| md.dev()).unwrap() [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] --> tests/testenv/mod.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 159 | let temp_dir = create_working_directory(directories, files).expect("working directory"); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | config_dir: None, [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] --> tests/testenv/mod.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn global_ignore_file(self, content: &str) -> TestEnv { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | let config_dir = [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | config_dir: Some(config_dir), [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] --> tests/testenv/mod.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 312 | let mut cmd = process::Command::new(&self.fd_exe); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | cmd.output().expect("fd output") [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fd-find` (test "tests") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/main.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | Ok(Config { [INFO] [stdout] | ________^ [INFO] [stdout] 240 | | case_sensitive, [INFO] [stdout] 241 | | search_full_path: opts.full_path, [INFO] [stdout] 242 | | ignore_hidden: !(opts.hidden || opts.rg_alias_ignore()), [INFO] [stdout] ... | [INFO] [stdout] 315 | | && (opts.strip_cwd_prefix || !(opts.null_separator || has_command))), [INFO] [stdout] 316 | | }) [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/main.rs:331:28 [INFO] [stdout] | [INFO] [stdout] 331 | .map(|cmd| CommandSet::new_batch([cmd]).unwrap()); [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/cli.rs:811:9 [INFO] [stdout] | [INFO] [stdout] 810 | fn augment_args(cmd: Command) -> Command { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 811 | / cmd.arg(Arg::new("exec") [INFO] [stdout] 812 | | .action(ArgAction::Append) [INFO] [stdout] 813 | | .long("exec") [INFO] [stdout] 814 | | .short('x') [INFO] [stdout] ... | [INFO] [stdout] 843 | | ), [INFO] [stdout] 844 | | ) [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/cli.rs:846:13 [INFO] [stdout] | [INFO] [stdout] 810 | fn augment_args(cmd: Command) -> Command { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 846 | / Arg::new("exec_batch") [INFO] [stdout] 847 | | .action(ArgAction::Append) [INFO] [stdout] 848 | | .long("exec-batch") [INFO] [stdout] 849 | | .short('X') [INFO] [stdout] ... | [INFO] [stdout] 873 | | " [INFO] [stdout] 874 | | ), [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/dir_entry.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn normal(e: ignore::DirEntry) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Self { [INFO] [stdout] 28 | inner: DirEntryInner::Normal(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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/exec/mod.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 158 | let cmd = Self::new_command(&pre_args)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | [INFO] [stdout] 160 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 161 | | pre_args, [INFO] [stdout] 162 | | path_arg: path_arg.unwrap(), [INFO] [stdout] 163 | | post_args, [INFO] [stdout] ... | [INFO] [stdout] 167 | | exit_code: ExitCode::Success, [INFO] [stdout] 168 | | }) [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/exec/command.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn handle_cmd_error(cmd: Option<&Command>, err: io::Error) -> ExitCode { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | match (cmd, err) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/filter/size.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | SIZE_CAPTURES.get_or_init(|| Regex::new(r"(?i)^([+-]?)(\d+)(b|[kmgt]i?b?)$").unwrap()); [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/filter/owner.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 85 | fn parse(s: Option<&str>, f: F) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | f(s).map(|x| { [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/regex_helper.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | let mut parser = ParserBuilder::new().utf8(false).build(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | [INFO] [stdout] 8 | / parser [INFO] [stdout] 9 | | .parse(pattern) [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/regex_helper.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | let mut parser = ParserBuilder::new().utf8(false).build(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | [INFO] [stdout] 43 | / parser [INFO] [stdout] 44 | | .parse(pattern) [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/walk.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | self.lock().take().unwrap().into_iter() [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/walk.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 82 | fn new(tx: Sender, limit: usize) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | Self { [INFO] [stdout] 84 | batch: Batch::new(), [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/walk.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 153 | fn new(state: &'a WorkerState, rx: Receiver, stdout: W) -> Self { [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] 168 | buffer: Vec::with_capacity(MAX_BUFFER_LENGTH), [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/walk.rs:425:49 [INFO] [stdout] | [INFO] [stdout] 421 | let rx = rx.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 425 | .spawn(|| exec::job(rx.into_iter().flatten(), cmd, &out_perm, &config)); [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/walk.rs:430:71 [INFO] [stdout] | [INFO] [stdout] 430 | let exit_codes = handles.into_iter().map(|handle| handle.join().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/walk.rs:458:22 [INFO] [stdout] | [INFO] [stdout] 456 | let mut tx = BatchSender::new(tx.clone(), limit); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 457 | [INFO] [stdout] 458 | Box::new(move |entry| { [INFO] [stdout] | ______________________^ [INFO] [stdout] 459 | | if quit_flag.load(Ordering::Relaxed) { [INFO] [stdout] 460 | | return WalkState::Quit; [INFO] [stdout] 461 | | } [INFO] [stdout] ... | [INFO] [stdout] 616 | | WalkState::Continue [INFO] [stdout] 617 | | }) [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/walk.rs:650:13 [INFO] [stdout] | [INFO] [stdout] 624 | let walker = self.build_walker(paths)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 641 | let (tx, rx) = bounded(2 * config.threads); [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] 645 | let receiver = scope.spawn(|| self.receive(rx)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 650 | receiver.join().unwrap() [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/walk.rs:667:5 [INFO] [stdout] | [INFO] [stdout] 666 | pub fn scan(paths: &[PathBuf], patterns: Vec, config: Config) -> 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] 667 | WorkerState::new(patterns, config).scan(paths) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fd-find` (bin "fd") due to 20 previous errors [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/main.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | Ok(Config { [INFO] [stdout] | ________^ [INFO] [stdout] 240 | | case_sensitive, [INFO] [stdout] 241 | | search_full_path: opts.full_path, [INFO] [stdout] 242 | | ignore_hidden: !(opts.hidden || opts.rg_alias_ignore()), [INFO] [stdout] ... | [INFO] [stdout] 315 | | && (opts.strip_cwd_prefix || !(opts.null_separator || has_command))), [INFO] [stdout] 316 | | }) [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/main.rs:331:28 [INFO] [stdout] | [INFO] [stdout] 331 | .map(|cmd| CommandSet::new_batch([cmd]).unwrap()); [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/cli.rs:811:9 [INFO] [stdout] | [INFO] [stdout] 810 | fn augment_args(cmd: Command) -> Command { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 811 | / cmd.arg(Arg::new("exec") [INFO] [stdout] 812 | | .action(ArgAction::Append) [INFO] [stdout] 813 | | .long("exec") [INFO] [stdout] 814 | | .short('x') [INFO] [stdout] ... | [INFO] [stdout] 843 | | ), [INFO] [stdout] 844 | | ) [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/cli.rs:846:13 [INFO] [stdout] | [INFO] [stdout] 810 | fn augment_args(cmd: Command) -> Command { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 846 | / Arg::new("exec_batch") [INFO] [stdout] 847 | | .action(ArgAction::Append) [INFO] [stdout] 848 | | .long("exec-batch") [INFO] [stdout] 849 | | .short('X') [INFO] [stdout] ... | [INFO] [stdout] 873 | | " [INFO] [stdout] 874 | | ), [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/dir_entry.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn normal(e: ignore::DirEntry) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Self { [INFO] [stdout] 28 | inner: DirEntryInner::Normal(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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/exec/mod.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 158 | let cmd = Self::new_command(&pre_args)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | [INFO] [stdout] 160 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 161 | | pre_args, [INFO] [stdout] 162 | | path_arg: path_arg.unwrap(), [INFO] [stdout] 163 | | post_args, [INFO] [stdout] ... | [INFO] [stdout] 167 | | exit_code: ExitCode::Success, [INFO] [stdout] 168 | | }) [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/exec/command.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn handle_cmd_error(cmd: Option<&Command>, err: io::Error) -> ExitCode { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | match (cmd, err) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/filter/size.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | SIZE_CAPTURES.get_or_init(|| Regex::new(r"(?i)^([+-]?)(\d+)(b|[kmgt]i?b?)$").unwrap()); [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/filter/owner.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 85 | fn parse(s: Option<&str>, f: F) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | f(s).map(|x| { [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/regex_helper.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | let mut parser = ParserBuilder::new().utf8(false).build(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | [INFO] [stdout] 8 | / parser [INFO] [stdout] 9 | | .parse(pattern) [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/regex_helper.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | let mut parser = ParserBuilder::new().utf8(false).build(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | [INFO] [stdout] 43 | / parser [INFO] [stdout] 44 | | .parse(pattern) [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/walk.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | self.lock().take().unwrap().into_iter() [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/walk.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 82 | fn new(tx: Sender, limit: usize) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | Self { [INFO] [stdout] 84 | batch: Batch::new(), [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/walk.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 153 | fn new(state: &'a WorkerState, rx: Receiver, stdout: W) -> Self { [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] 168 | buffer: Vec::with_capacity(MAX_BUFFER_LENGTH), [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/walk.rs:425:49 [INFO] [stdout] | [INFO] [stdout] 421 | let rx = rx.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 425 | .spawn(|| exec::job(rx.into_iter().flatten(), cmd, &out_perm, &config)); [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/walk.rs:430:71 [INFO] [stdout] | [INFO] [stdout] 430 | let exit_codes = handles.into_iter().map(|handle| handle.join().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/walk.rs:458:22 [INFO] [stdout] | [INFO] [stdout] 456 | let mut tx = BatchSender::new(tx.clone(), limit); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 457 | [INFO] [stdout] 458 | Box::new(move |entry| { [INFO] [stdout] | ______________________^ [INFO] [stdout] 459 | | if quit_flag.load(Ordering::Relaxed) { [INFO] [stdout] 460 | | return WalkState::Quit; [INFO] [stdout] 461 | | } [INFO] [stdout] ... | [INFO] [stdout] 616 | | WalkState::Continue [INFO] [stdout] 617 | | }) [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/walk.rs:650:13 [INFO] [stdout] | [INFO] [stdout] 624 | let walker = self.build_walker(paths)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 641 | let (tx, rx) = bounded(2 * config.threads); [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] 645 | let receiver = scope.spawn(|| self.receive(rx)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 650 | receiver.join().unwrap() [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/walk.rs:667:5 [INFO] [stdout] | [INFO] [stdout] 666 | pub fn scan(paths: &[PathBuf], patterns: Vec, config: Config) -> 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] 667 | WorkerState::new(patterns, config).scan(paths) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fd-find` (bin "fd" test) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "1426fca7ee391598e0074e786631eccf0643debc2c8128da7ad0af3f7c10275b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1426fca7ee391598e0074e786631eccf0643debc2c8128da7ad0af3f7c10275b", kill_on_drop: false }` [INFO] [stdout] 1426fca7ee391598e0074e786631eccf0643debc2c8128da7ad0af3f7c10275b