[INFO] fetching crate tiff 0.9.1... [INFO] checking tiff-0.9.1 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate tiff 0.9.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate tiff 0.9.1 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tiff 0.9.1 [INFO] finished tweaking crates.io crate tiff 0.9.1 [INFO] tweaked toml for crates.io crate tiff 0.9.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 76 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53a7268f521418eaa4d2165fb43b2f79e35a1715d9cb9f0036364c8e90a0a886 [INFO] running `Command { std: "docker" "start" "-a" "53a7268f521418eaa4d2165fb43b2f79e35a1715d9cb9f0036364c8e90a0a886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53a7268f521418eaa4d2165fb43b2f79e35a1715d9cb9f0036364c8e90a0a886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53a7268f521418eaa4d2165fb43b2f79e35a1715d9cb9f0036364c8e90a0a886", kill_on_drop: false }` [INFO] [stdout] 53a7268f521418eaa4d2165fb43b2f79e35a1715d9cb9f0036364c8e90a0a886 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e4306c49f14abade0a37f4fb4825774c8b47e3460a0c956743241d7d2cf234e [INFO] running `Command { std: "docker" "start" "-a" "4e4306c49f14abade0a37f4fb4825774c8b47e3460a0c956743241d7d2cf234e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking tiff v0.9.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Fixed src/encoder/tiff_value.rs (2 fixes) [INFO] [stderr] Fixed src/tags.rs (1 fix) [INFO] [stderr] Fixed src/decoder/mod.rs (7 fixes) [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking serde_json v1.0.132 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Migrating tests/decode_bigtiff_images.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/decode_images.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/decode_images.rs (1 fix) [INFO] [stderr] Migrating benches/lzw.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/encode_images.rs from 2021 edition to 2024 [INFO] [stdout] error: couldn't read `/tmp/fixit/tests/images/issue_69_lzw.tiff`: No such file or directory (os error 2) [INFO] [stdout] --> benches/lzw.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | include_bytes!(concat!(env!("CARGO_MANIFEST_DIR"), $name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | data: data_file!("/tests/images/issue_69_lzw.tiff"), [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `data_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tiff` (bench "lzw") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Fixed tests/encode_images.rs (3 fixes) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/encode_images.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | if let DecodingResult::$buffer(img_res) = decoder.read_image().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 190 | test_roundtrip!(test_u8_roundtrip, U8, u8); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/encode_images.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 190 | test_roundtrip!(test_u8_roundtrip, U8, u8); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `test_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/encode_images.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | if let DecodingResult::$buffer(img_res) = decoder.read_image().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 191 | test_roundtrip!(test_u16_roundtrip, U16, u16); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/encode_images.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 191 | test_roundtrip!(test_u16_roundtrip, U16, u16); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `test_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/encode_images.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | if let DecodingResult::$buffer(img_res) = decoder.read_image().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 192 | test_roundtrip!(test_u32_roundtrip, U32, u32); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/encode_images.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 192 | test_roundtrip!(test_u32_roundtrip, U32, u32); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `test_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/encode_images.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | if let DecodingResult::$buffer(img_res) = decoder.read_image().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 193 | test_roundtrip!(test_u64_roundtrip, U64, u64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/encode_images.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 193 | test_roundtrip!(test_u64_roundtrip, U64, u64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `test_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/encode_images.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | if let DecodingResult::$buffer(img_res) = decoder.read_image().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 194 | test_roundtrip!(test_f32_roundtrip, F32, f32); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/encode_images.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 194 | test_roundtrip!(test_f32_roundtrip, F32, f32); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `test_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/encode_images.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | if let DecodingResult::$buffer(img_res) = decoder.read_image().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 195 | test_roundtrip!(test_f64_roundtrip, F64, f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/encode_images.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 195 | test_roundtrip!(test_f64_roundtrip, F64, f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `test_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/fuzz_tests.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/encode_images_with_compression.rs from 2021 edition to 2024 [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "4e4306c49f14abade0a37f4fb4825774c8b47e3460a0c956743241d7d2cf234e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e4306c49f14abade0a37f4fb4825774c8b47e3460a0c956743241d7d2cf234e", kill_on_drop: false }` [INFO] [stdout] 4e4306c49f14abade0a37f4fb4825774c8b47e3460a0c956743241d7d2cf234e