[INFO] cloning repository https://github.com/adamreichold/resize_jpeg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adamreichold/resize_jpeg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamreichold%2Fresize_jpeg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamreichold%2Fresize_jpeg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36682fcf4d859d28c31589a88a1eafbc263f9a37 [INFO] checking adamreichold/resize_jpeg/36682fcf4d859d28c31589a88a1eafbc263f9a37 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%2Fadamreichold%2Fresize_jpeg" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adamreichold/resize_jpeg 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/adamreichold/resize_jpeg [INFO] finished tweaking git repo https://github.com/adamreichold/resize_jpeg [INFO] tweaked toml for git repo https://github.com/adamreichold/resize_jpeg written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/adamreichold/resize_jpeg 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2b678c8b21067440e04bc86efb7d79e885464e74e7bb99495b7406b2f7c3cfc2 [INFO] running `Command { std: "docker" "start" "-a" "2b678c8b21067440e04bc86efb7d79e885464e74e7bb99495b7406b2f7c3cfc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b678c8b21067440e04bc86efb7d79e885464e74e7bb99495b7406b2f7c3cfc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b678c8b21067440e04bc86efb7d79e885464e74e7bb99495b7406b2f7c3cfc2", kill_on_drop: false }` [INFO] [stdout] 2b678c8b21067440e04bc86efb7d79e885464e74e7bb99495b7406b2f7c3cfc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7b88cab31f12ad98ef4f7b920c9763bad8d6b12c156e850d0e993b6085a1cd44 [INFO] running `Command { std: "docker" "start" "-a" "7b88cab31f12ad98ef4f7b920c9763bad8d6b12c156e850d0e993b6085a1cd44", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling cfg-expr v0.15.7 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling gexiv2-sys v1.4.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling gtk v0.18.1 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling nasm-rs v0.3.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling mozjpeg-sys v2.1.0 [INFO] [stderr] Checking rexiv2 v0.10.0 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking mozjpeg v0.10.7 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling gtk3-macros v0.18.0 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling gdk-sys v0.18.0 [INFO] [stderr] Compiling atk-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gtk-sys v0.18.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking glib v0.18.5 [INFO] [stderr] Checking cairo-rs v0.18.5 [INFO] [stderr] Checking atk v0.18.0 [INFO] [stderr] Checking pango v0.18.3 [INFO] [stderr] Checking gdk-pixbuf v0.18.5 [INFO] [stderr] Checking gdk v0.18.0 [INFO] [stderr] Checking resize_jpeg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `glib::main_context_channel::::channel`: Use an async channel, from async-channel for example, on the main context using spawn_future_local() instead [INFO] [stdout] --> src/main.rs:201:61 [INFO] [stdout] | [INFO] [stdout] 201 | let (progress_sender, progress_receiver) = MainContext::channel::(Priority::DEFAULT); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `glib::main_context_channel::::channel`: Use an async channel, from async-channel for example, on the main context using spawn_future_local() instead [INFO] [stdout] --> src/main.rs:201:61 [INFO] [stdout] | [INFO] [stdout] 201 | let (progress_sender, progress_receiver) = MainContext::channel::(Priority::DEFAULT); [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:309:13 [INFO] [stdout] | [INFO] [stdout] 300 | let mut compress = Compress::new(ColorSpace::JCS_RGB); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | let mut compress = compress.start_compress(Vec::new()).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 308 | compress.write_scanlines(&image).unwrap(); [INFO] [stdout] 309 | compress.finish().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] --> src/main.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 300 | let mut compress = Compress::new(ColorSpace::JCS_RGB); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | let mut compress = compress.start_compress(Vec::new()).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 308 | compress.write_scanlines(&image).unwrap(); [INFO] [stdout] 309 | compress.finish().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: aborting due to 1 previous error; 1 warning emitted [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 `resize_jpeg` (bin "resize_jpeg" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `resize_jpeg` (bin "resize_jpeg") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7b88cab31f12ad98ef4f7b920c9763bad8d6b12c156e850d0e993b6085a1cd44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b88cab31f12ad98ef4f7b920c9763bad8d6b12c156e850d0e993b6085a1cd44", kill_on_drop: false }` [INFO] [stdout] 7b88cab31f12ad98ef4f7b920c9763bad8d6b12c156e850d0e993b6085a1cd44