[INFO] cloning repository https://github.com/acsandmann/captcha [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acsandmann/captcha" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facsandmann%2Fcaptcha", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facsandmann%2Fcaptcha'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07fdec043488b96a7770f33ce4804eb7e95f8533 [INFO] checking acsandmann/captcha/07fdec043488b96a7770f33ce4804eb7e95f8533 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%2Facsandmann%2Fcaptcha" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/acsandmann/captcha 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] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/acsandmann/captcha [INFO] finished tweaking git repo https://github.com/acsandmann/captcha [INFO] tweaked toml for git repo https://github.com/acsandmann/captcha written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/acsandmann/captcha 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] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `image` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `imageproc` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] be2d3a936d15a9dccf60668df513cf5287f26ac8a48d6bce311972a697a2c267 [INFO] running `Command { std: "docker" "start" "-a" "be2d3a936d15a9dccf60668df513cf5287f26ac8a48d6bce311972a697a2c267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be2d3a936d15a9dccf60668df513cf5287f26ac8a48d6bce311972a697a2c267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be2d3a936d15a9dccf60668df513cf5287f26ac8a48d6bce311972a697a2c267", kill_on_drop: false }` [INFO] [stdout] be2d3a936d15a9dccf60668df513cf5287f26ac8a48d6bce311972a697a2c267 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 2ccaac1fcbb3d26af604d78cfe1fb6b4f413d0b250c7c08c1eaabd90c18c7a24 [INFO] running `Command { std: "docker" "start" "-a" "2ccaac1fcbb3d26af604d78cfe1fb6b4f413d0b250c7c08c1eaabd90c18c7a24", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `image` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `imageproc` dependency) [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking fontdue v0.8.0 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking imageproc v0.22.0 [INFO] [stderr] Checking captcha v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `coerce` [INFO] [stdout] --> src/ffi/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | #![cfg_attr(feature = "coerce", feature(unsize, coerce_unsized))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `coerce` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fd` [INFO] [stdout] --> src/ffi/io.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(feature = "fd")] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `coerce` [INFO] [stdout] --> src/ffi/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | #![cfg_attr(feature = "coerce", feature(unsize, coerce_unsized))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `coerce` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fd` [INFO] [stdout] --> src/ffi/io.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(feature = "fd")] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fd` [INFO] [stdout] --> src/ffi/io.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "fd")] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fd` [INFO] [stdout] --> src/ffi/io.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(feature = "fd")] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fd` [INFO] [stdout] --> src/ffi/io.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "fd")] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fd` [INFO] [stdout] --> src/ffi/io.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(feature = "fd")] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fd` [INFO] [stdout] --> src/ffi/io.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(feature = "fd")] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fd` [INFO] [stdout] --> src/ffi/io.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(feature = "fd")] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fd` [INFO] [stdout] --> src/ffi/io.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(feature = "fd")] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fd` [INFO] [stdout] --> src/ffi/io.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(feature = "fd")] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct layout_raster { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 33 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `layout_raster` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct layout_raster { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 33 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `layout_raster` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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/ffi/ptr.rs:8:52 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn pack(value: T) -> *mut T { Box::into_raw(Box::new(value)) } [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] = 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; 7 warnings emitted [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/ffi/ptr.rs:8:52 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn pack(value: T) -> *mut T { Box::into_raw(Box::new(value)) } [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] = 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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `captcha` (lib test) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `captcha` (lib) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2ccaac1fcbb3d26af604d78cfe1fb6b4f413d0b250c7c08c1eaabd90c18c7a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ccaac1fcbb3d26af604d78cfe1fb6b4f413d0b250c7c08c1eaabd90c18c7a24", kill_on_drop: false }` [INFO] [stdout] 2ccaac1fcbb3d26af604d78cfe1fb6b4f413d0b250c7c08c1eaabd90c18c7a24