[INFO] cloning repository https://github.com/Thaumy/dup-img-finder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Thaumy/dup-img-finder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThaumy%2Fdup-img-finder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThaumy%2Fdup-img-finder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fb0342a10f6853913ba5118d6a0d0a595dcd8de [INFO] checking Thaumy/dup-img-finder/0fb0342a10f6853913ba5118d6a0d0a595dcd8de 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%2FThaumy%2Fdup-img-finder" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Thaumy/dup-img-finder 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/Thaumy/dup-img-finder [INFO] finished tweaking git repo https://github.com/Thaumy/dup-img-finder [INFO] tweaked toml for git repo https://github.com/Thaumy/dup-img-finder written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Thaumy/dup-img-finder already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f74d03d04810f6a90fedb3a1d2dc8bb73e2e4767328e49b178fca861527a5619 [INFO] running `Command { std: "docker" "start" "-a" "f74d03d04810f6a90fedb3a1d2dc8bb73e2e4767328e49b178fca861527a5619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f74d03d04810f6a90fedb3a1d2dc8bb73e2e4767328e49b178fca861527a5619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f74d03d04810f6a90fedb3a1d2dc8bb73e2e4767328e49b178fca861527a5619", kill_on_drop: false }` [INFO] [stdout] f74d03d04810f6a90fedb3a1d2dc8bb73e2e4767328e49b178fca861527a5619 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d734a34f1429e2eabfe4c7906677a7a0c3313ce9392994d9d0e820c3c02e6dc1 [INFO] running `Command { std: "docker" "start" "-a" "d734a34f1429e2eabfe4c7906677a7a0c3313ce9392994d9d0e820c3c02e6dc1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling rustix v0.38.14 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling rustfft v6.1.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking anstream v0.6.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking winnow v0.5.15 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking clap_builder v4.4.14 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking indexmap v2.0.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking base64-url v2.0.2 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking transpose v0.2.2 [INFO] [stderr] Checking primal-check v0.3.3 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Compiling sqlite3-src v0.6.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking sqlite3-sys v0.17.0 [INFO] [stderr] Checking sqlite v0.36.0 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking clap v4.4.14 [INFO] [stderr] Checking rustdct v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking image_hasher v1.2.0 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking dup-img-finder v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 18 | let conn = sqlite::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Self { conn }.wrap_ok() [INFO] [stdout] | ^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/calc_img_hash.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 50 | let img_data: Result = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let result = match img_data { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let hash: Box<[u8]> = Box::from(hasher.hash_image(&img).as_bytes()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let cache = cache.lock().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | if let Err(e) = cache.insert(&img_path, hash.as_slice()) { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | img_hash_result_tx.send(result).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] | 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/get_img_paths.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_img_paths(ignore: Ignore, root_path: impl AsRef) -> Result> { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | let ignore_path_regexes = ignore [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | / img_paths [INFO] [stdout] 101 | | .into_iter() [INFO] [stdout] 102 | | .fold(SegQueue::new(), |acc, it| { [INFO] [stdout] 103 | | acc.push(it); [INFO] [stdout] 104 | | acc [INFO] [stdout] 105 | | }) [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/get_img_paths.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | .map(|s| Regex::new(&s).expect("Failed to build regex")) [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] [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/cache.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 18 | let conn = sqlite::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Self { conn }.wrap_ok() [INFO] [stdout] | ^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/calc_img_hash.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 50 | let img_data: Result = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let result = match img_data { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let hash: Box<[u8]> = Box::from(hasher.hash_image(&img).as_bytes()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let cache = cache.lock().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | if let Err(e) = cache.insert(&img_path, hash.as_slice()) { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | img_hash_result_tx.send(result).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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dup-img-finder` (bin "dup-img-finder" test) 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/get_img_paths.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_img_paths(ignore: Ignore, root_path: impl AsRef) -> Result> { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | let ignore_path_regexes = ignore [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | / img_paths [INFO] [stdout] 101 | | .into_iter() [INFO] [stdout] 102 | | .fold(SegQueue::new(), |acc, it| { [INFO] [stdout] 103 | | acc.push(it); [INFO] [stdout] 104 | | acc [INFO] [stdout] 105 | | }) [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/get_img_paths.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | .map(|s| Regex::new(&s).expect("Failed to build regex")) [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 `dup-img-finder` (bin "dup-img-finder") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "d734a34f1429e2eabfe4c7906677a7a0c3313ce9392994d9d0e820c3c02e6dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d734a34f1429e2eabfe4c7906677a7a0c3313ce9392994d9d0e820c3c02e6dc1", kill_on_drop: false }` [INFO] [stdout] d734a34f1429e2eabfe4c7906677a7a0c3313ce9392994d9d0e820c3c02e6dc1