[INFO] cloning repository https://github.com/Tuhinpaul5/rust_image_compressor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tuhinpaul5/rust_image_compressor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuhinpaul5%2Frust_image_compressor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuhinpaul5%2Frust_image_compressor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b75986a7acf78a4119239bc878fce8609091e537 [INFO] checking Tuhinpaul5/rust_image_compressor/b75986a7acf78a4119239bc878fce8609091e537 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%2FTuhinpaul5%2Frust_image_compressor" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tuhinpaul5/rust_image_compressor 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/Tuhinpaul5/rust_image_compressor [INFO] finished tweaking git repo https://github.com/Tuhinpaul5/rust_image_compressor [INFO] tweaked toml for git repo https://github.com/Tuhinpaul5/rust_image_compressor written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Tuhinpaul5/rust_image_compressor 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b170b01bc398f94cdc7ace379becf4fbf84df86c8ea0faeeeb4ddfdfc831cd9b [INFO] running `Command { std: "docker" "start" "-a" "b170b01bc398f94cdc7ace379becf4fbf84df86c8ea0faeeeb4ddfdfc831cd9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b170b01bc398f94cdc7ace379becf4fbf84df86c8ea0faeeeb4ddfdfc831cd9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b170b01bc398f94cdc7ace379becf4fbf84df86c8ea0faeeeb4ddfdfc831cd9b", kill_on_drop: false }` [INFO] [stdout] b170b01bc398f94cdc7ace379becf4fbf84df86c8ea0faeeeb4ddfdfc831cd9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57d6cbb08ac0acb9a81df1aa996feee583263bbebe568f467ad0e8572fe34a1c [INFO] running `Command { std: "docker" "start" "-a" "57d6cbb08ac0acb9a81df1aa996feee583263bbebe568f467ad0e8572fe34a1c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling nasm-rs v0.2.5 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking fdeflate v0.3.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking crossbeam-queue v0.3.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.16 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling mozjpeg-sys v1.1.1 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking mozjpeg v0.9.8 [INFO] [stderr] Checking image_compressor v1.3.0 [INFO] [stderr] Checking image_compressor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `image_compressor::FolderCompressor::set_cal_func`: Use just `set_factor` method instead this. [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | comp.set_cal_func(|_, _, _| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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:13:11 [INFO] [stdout] | [INFO] [stdout] 8 | let mut comp = FolderCompressor::new(origin, dest); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | match comp.compress() { // compress the folder [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: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `image_compressor` (bin "image_compressor") due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: use of deprecated method `image_compressor::FolderCompressor::set_cal_func`: Use just `set_factor` method instead this. [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | comp.set_cal_func(|_, _, _| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [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:13:11 [INFO] [stdout] | [INFO] [stdout] 8 | let mut comp = FolderCompressor::new(origin, dest); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | match comp.compress() { // compress the folder [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: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `image_compressor` (bin "image_compressor" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "57d6cbb08ac0acb9a81df1aa996feee583263bbebe568f467ad0e8572fe34a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57d6cbb08ac0acb9a81df1aa996feee583263bbebe568f467ad0e8572fe34a1c", kill_on_drop: false }` [INFO] [stdout] 57d6cbb08ac0acb9a81df1aa996feee583263bbebe568f467ad0e8572fe34a1c