[INFO] cloning repository https://github.com/TehUncleDolan/img-match [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TehUncleDolan/img-match" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTehUncleDolan%2Fimg-match", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTehUncleDolan%2Fimg-match'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f0fdd706ba1de5b9d9c51c5994828e7c984017f [INFO] checking TehUncleDolan/img-match/1f0fdd706ba1de5b9d9c51c5994828e7c984017f 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%2FTehUncleDolan%2Fimg-match" "/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/TehUncleDolan/img-match 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/TehUncleDolan/img-match [INFO] finished tweaking git repo https://github.com/TehUncleDolan/img-match [INFO] tweaked toml for git repo https://github.com/TehUncleDolan/img-match written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TehUncleDolan/img-match 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] 3b9a7ce5cfe04b602319d563a6a4abab748ae46e03b78fbaa78a40cf291766e2 [INFO] running `Command { std: "docker" "start" "-a" "3b9a7ce5cfe04b602319d563a6a4abab748ae46e03b78fbaa78a40cf291766e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b9a7ce5cfe04b602319d563a6a4abab748ae46e03b78fbaa78a40cf291766e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b9a7ce5cfe04b602319d563a6a4abab748ae46e03b78fbaa78a40cf291766e2", kill_on_drop: false }` [INFO] [stdout] 3b9a7ce5cfe04b602319d563a6a4abab748ae46e03b78fbaa78a40cf291766e2 [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] 52800769c78af4a7556432adbd031767f442f27f2aa387e2b6b1ee7f2e0313f5 [INFO] running `Command { std: "docker" "start" "-a" "52800769c78af4a7556432adbd031767f442f27f2aa387e2b6b1ee7f2e0313f5", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking strength_reduce v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking transpose v0.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking rustfft v3.0.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking transpose v0.2.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking rustdct v0.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking bktree v1.0.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking img_hash v3.2.0 [INFO] [stderr] Checking img-match v0.1.1-alpha.0 (/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/bin/cmp.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 42 | fn load_image(path: impl Into) -> Result { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let mut file = File::open(&path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | / ImageReader::new(Cursor::new(contents)) [INFO] [stdout] 51 | | .with_guessed_format() [INFO] [stdout] 52 | | .wrap_err_with(|| format!("identify {}", filename.to_string_lossy()))? [INFO] [stdout] 53 | | .decode() [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] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `img-match` (bin "img-cmp") due to 2 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/bin/cmp.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 42 | fn load_image(path: impl Into) -> Result { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let mut file = File::open(&path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | / ImageReader::new(Cursor::new(contents)) [INFO] [stdout] 51 | | .with_guessed_format() [INFO] [stdout] 52 | | .wrap_err_with(|| format!("identify {}", filename.to_string_lossy()))? [INFO] [stdout] 53 | | .decode() [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] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `img-match` (bin "img-cmp" test) due to 2 previous errors [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:167:13 [INFO] [stdout] | [INFO] [stdout] 166 | .filter_map(|entry| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | / entry [INFO] [stdout] 168 | | .wrap_err("access directory entry") [INFO] [stdout] 169 | | .and_then(|entry| { [INFO] [stdout] 170 | | entry [INFO] [stdout] ... | [INFO] [stdout] 185 | | }) [INFO] [stdout] 186 | | }) [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:167:13 [INFO] [stdout] | [INFO] [stdout] 166 | .filter_map(|entry| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | / entry [INFO] [stdout] 168 | | .wrap_err("access directory entry") [INFO] [stdout] 169 | | .and_then(|entry| { [INFO] [stdout] 170 | | entry [INFO] [stdout] ... | [INFO] [stdout] 185 | | }) [INFO] [stdout] 186 | | }) [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:170:21 [INFO] [stdout] | [INFO] [stdout] 169 | .and_then(|entry| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | / entry [INFO] [stdout] 171 | | .metadata() [INFO] [stdout] 172 | | .wrap_err_with(|| { [INFO] [stdout] 173 | | format!( [INFO] [stdout] ... | [INFO] [stdout] 176 | | ) [INFO] [stdout] 177 | | }) [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 2 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/main.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 169 | .and_then(|entry| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | / entry [INFO] [stdout] 171 | | .metadata() [INFO] [stdout] 172 | | .wrap_err_with(|| { [INFO] [stdout] 173 | | format!( [INFO] [stdout] ... | [INFO] [stdout] 176 | | ) [INFO] [stdout] 177 | | }) [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `img-match` (bin "img-match" test) due to 3 previous errors [INFO] [stderr] error: could not compile `img-match` (bin "img-match") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "52800769c78af4a7556432adbd031767f442f27f2aa387e2b6b1ee7f2e0313f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52800769c78af4a7556432adbd031767f442f27f2aa387e2b6b1ee7f2e0313f5", kill_on_drop: false }` [INFO] [stdout] 52800769c78af4a7556432adbd031767f442f27f2aa387e2b6b1ee7f2e0313f5