[INFO] cloning repository https://github.com/chronicl/image-optimizer-axum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chronicl/image-optimizer-axum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchronicl%2Fimage-optimizer-axum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchronicl%2Fimage-optimizer-axum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e89b450d61eeef6f1424f2c1e3d78878ace714e8 [INFO] checking chronicl/image-optimizer-axum/e89b450d61eeef6f1424f2c1e3d78878ace714e8 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%2Fchronicl%2Fimage-optimizer-axum" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chronicl/image-optimizer-axum 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/chronicl/image-optimizer-axum [INFO] finished tweaking git repo https://github.com/chronicl/image-optimizer-axum [INFO] tweaked toml for git repo https://github.com/chronicl/image-optimizer-axum written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chronicl/image-optimizer-axum 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 88738ca0289539831bd7da2fc47a0b103e7e4df9e981c158e45f54b9eb099164 [INFO] running `Command { std: "docker" "start" "-a" "88738ca0289539831bd7da2fc47a0b103e7e4df9e981c158e45f54b9eb099164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88738ca0289539831bd7da2fc47a0b103e7e4df9e981c158e45f54b9eb099164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88738ca0289539831bd7da2fc47a0b103e7e4df9e981c158e45f54b9eb099164", kill_on_drop: false }` [INFO] [stdout] 88738ca0289539831bd7da2fc47a0b103e7e4df9e981c158e45f54b9eb099164 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a4827bb3e89cc2e698ac73d31f8c276c89741b80216c9759075c89fb95d7ef93 [INFO] running `Command { std: "docker" "start" "-a" "a4827bb3e89cc2e698ac73d31f8c276c89741b80216c9759075c89fb95d7ef93", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking weezl v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking dashmap v5.3.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling libwebp-sys v0.4.2 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [INFO] [stderr] Checking tiff v0.7.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking flume v0.10.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking exr v1.4.2 [INFO] [stderr] Checking image v0.24.2 [INFO] [stderr] Checking webp v0.2.2 [INFO] [stderr] Checking image-optimizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated constant `CACHE_CONTROL` is never used [INFO] [stdout] --> src/lib.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 13 | impl ImageOptimizer { [INFO] [stdout] | ------------------- associated constant in this implementation [INFO] [stdout] 14 | const CACHE_CONTROL: &str = "public, max-age=31536000, immutable"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_content_type` is never used [INFO] [stdout] --> src/lib.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn parse_content_type(resize: &Resize, image: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new>(dir: P) -> Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 21 | | dir, [INFO] [stdout] 22 | | cache: Arc::new(dashmap::DashMap::new()), [INFO] [stdout] 23 | | }) [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `image-optimizer` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] warning: associated constant `CACHE_CONTROL` is never used [INFO] [stdout] --> src/lib.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 13 | impl ImageOptimizer { [INFO] [stdout] | ------------------- associated constant in this implementation [INFO] [stdout] 14 | const CACHE_CONTROL: &str = "public, max-age=31536000, immutable"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_content_type` is never used [INFO] [stdout] --> src/lib.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn parse_content_type(resize: &Resize, image: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new>(dir: P) -> Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 21 | | dir, [INFO] [stdout] 22 | | cache: Arc::new(dashmap::DashMap::new()), [INFO] [stdout] 23 | | }) [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `image-optimizer` (lib) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a4827bb3e89cc2e698ac73d31f8c276c89741b80216c9759075c89fb95d7ef93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4827bb3e89cc2e698ac73d31f8c276c89741b80216c9759075c89fb95d7ef93", kill_on_drop: false }` [INFO] [stdout] a4827bb3e89cc2e698ac73d31f8c276c89741b80216c9759075c89fb95d7ef93