[INFO] fetching crate imghash 1.5.0... [INFO] testing imghash-1.5.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate imghash 1.5.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate imghash 1.5.0 [INFO] finished tweaking crates.io crate imghash 1.5.0 [INFO] tweaked toml for crates.io crate imghash 1.5.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate imghash 1.5.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate imghash 1.5.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded avif-serialize v0.8.5 [INFO] [stderr] Downloaded rgb v0.8.51 [INFO] [stderr] Downloaded zune-jpeg v0.4.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50439f8187c80adbab819b8796b549c1f901e1501aabec7d6daec589ecd193be [INFO] running `Command { std: "docker" "start" "-a" "50439f8187c80adbab819b8796b549c1f901e1501aabec7d6daec589ecd193be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50439f8187c80adbab819b8796b549c1f901e1501aabec7d6daec589ecd193be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50439f8187c80adbab819b8796b549c1f901e1501aabec7d6daec589ecd193be", kill_on_drop: false }` [INFO] [stdout] 50439f8187c80adbab819b8796b549c1f901e1501aabec7d6daec589ecd193be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54f144c5a925fb2f20d128efeac3554f490a5163979e7375a314f93b6afd4f55 [INFO] running `Command { std: "docker" "start" "-a" "54f144c5a925fb2f20d128efeac3554f490a5163979e7375a314f93b6afd4f55", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling avif-serialize v0.8.5 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rgb v0.8.51 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling zune-jpeg v0.4.19 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling imghash v1.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.15s [INFO] running `Command { std: "docker" "inspect" "54f144c5a925fb2f20d128efeac3554f490a5163979e7375a314f93b6afd4f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54f144c5a925fb2f20d128efeac3554f490a5163979e7375a314f93b6afd4f55", kill_on_drop: false }` [INFO] [stdout] 54f144c5a925fb2f20d128efeac3554f490a5163979e7375a314f93b6afd4f55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ca222d462904023698aca224eb22ad834716d43d5d41f9e3356c9f74dcd48d2 [INFO] running `Command { std: "docker" "start" "-a" "1ca222d462904023698aca224eb22ad834716d43d5d41f9e3356c9f74dcd48d2", kill_on_drop: false }` [INFO] [stderr] Compiling imghash v1.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `imghash::ImageHash::matrix`: This method is inefficient because it creates a new Vec>. Consider using `iter_bool` instead. [INFO] [stdout] --> src/imghash.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | assert_eq!(hash.matrix(), vec![vec![false, true], vec![true, false]],); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `imghash::ImageHash::flatten`: This method is inefficient because it creates a new Vec. Consider using `iter_bool` instead. [INFO] [stdout] --> src/imghash.rs:277:30 [INFO] [stdout] | [INFO] [stdout] 277 | let flattened = hash.flatten(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `imghash::ImageHash::matrix`: This method is inefficient because it creates a new Vec>. Consider using `iter_bool` instead. [INFO] [stdout] --> src/imghash.rs:388:28 [INFO] [stdout] | [INFO] [stdout] 388 | assert_eq!(decoded.matrix(), expected); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `imghash::ImageHash::matrix`: This method is inefficient because it creates a new Vec>. Consider using `iter_bool` instead. [INFO] [stdout] --> src/imghash.rs:405:28 [INFO] [stdout] | [INFO] [stdout] 405 | assert_eq!(decoded.matrix(), expected); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `imghash::ImageHash::matrix`: This method is inefficient because it creates a new Vec>. Consider using `iter_bool` instead. [INFO] [stdout] --> src/imghash.rs:421:28 [INFO] [stdout] | [INFO] [stdout] 421 | assert_eq!(decoded.matrix(), expected); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `imghash::ImageHash::matrix`: This method is inefficient because it creates a new Vec>. Consider using `iter_bool` instead. [INFO] [stdout] --> src/imghash.rs:433:28 [INFO] [stdout] | [INFO] [stdout] 433 | assert_eq!(decoded.matrix(), expected); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.08s [INFO] running `Command { std: "docker" "inspect" "1ca222d462904023698aca224eb22ad834716d43d5d41f9e3356c9f74dcd48d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ca222d462904023698aca224eb22ad834716d43d5d41f9e3356c9f74dcd48d2", kill_on_drop: false }` [INFO] [stdout] 1ca222d462904023698aca224eb22ad834716d43d5d41f9e3356c9f74dcd48d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b03d074de5644ef70706fb2693ad1c9d7653249d7c43ed54a2a6919c2d7b3090 [INFO] running `Command { std: "docker" "start" "-a" "b03d074de5644ef70706fb2693ad1c9d7653249d7c43ed54a2a6919c2d7b3090", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `imghash::ImageHash::matrix`: This method is inefficient because it creates a new Vec>. Consider using `iter_bool` instead. [INFO] [stderr] --> src/imghash.rs:264:25 [INFO] [stderr] | [INFO] [stderr] 264 | assert_eq!(hash.matrix(), vec![vec![false, true], vec![true, false]],); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `imghash::ImageHash::flatten`: This method is inefficient because it creates a new Vec. Consider using `iter_bool` instead. [INFO] [stderr] --> src/imghash.rs:277:30 [INFO] [stderr] | [INFO] [stderr] 277 | let flattened = hash.flatten(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `imghash::ImageHash::matrix`: This method is inefficient because it creates a new Vec>. Consider using `iter_bool` instead. [INFO] [stderr] --> src/imghash.rs:388:28 [INFO] [stderr] | [INFO] [stderr] 388 | assert_eq!(decoded.matrix(), expected); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `imghash::ImageHash::matrix`: This method is inefficient because it creates a new Vec>. Consider using `iter_bool` instead. [INFO] [stderr] --> src/imghash.rs:405:28 [INFO] [stderr] | [INFO] [stderr] 405 | assert_eq!(decoded.matrix(), expected); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `imghash::ImageHash::matrix`: This method is inefficient because it creates a new Vec>. Consider using `iter_bool` instead. [INFO] [stderr] --> src/imghash.rs:421:28 [INFO] [stderr] | [INFO] [stderr] 421 | assert_eq!(decoded.matrix(), expected); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `imghash::ImageHash::matrix`: This method is inefficient because it creates a new Vec>. Consider using `iter_bool` instead. [INFO] [stderr] --> src/imghash.rs:433:28 [INFO] [stderr] | [INFO] [stderr] 433 | assert_eq!(decoded.matrix(), expected); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `imghash` (lib test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/imghash-d367ce9cb6b3f603) [INFO] [stdout] [INFO] [stdout] running 56 tests [INFO] [stdout] test difference::tests::test_difference_hash_from_txt_file ... ok [INFO] [stdout] test average::tests::test_average_hash_from_txt_file ... ok [INFO] [stdout] test difference::tests::test_difference_hash_from_nonexisting_path ... ok [INFO] [stdout] test average::tests::test_average_hash_from_nonexisting_path ... ok [INFO] [stdout] test imghash::tests::test_image_hash_decoding_with_empty_string ... ok [INFO] [stdout] test imghash::tests::test_image_hash_decoding_with_invalid_string ... ok [INFO] [stdout] test imghash::tests::test_image_hash_decoding_with_too_long_string ... ok [INFO] [stdout] test imghash::tests::test_image_hash_decoding_with_non_square_matrix ... ok [INFO] [stdout] test imghash::tests::test_image_hash_decoding_with_too_short_string ... ok [INFO] [stdout] test imghash::tests::test_image_hash_decoding_with_single_bit ... ok [INFO] [stdout] test imghash::tests::test_image_hash_decoding_with_uneven_total_bits ... ok [INFO] [stdout] test imghash::tests::test_image_hash_distance_with_different_sizes ... ok [INFO] [stdout] test imghash::tests::test_image_hash_distance_with_equal_hashes ... ok [INFO] [stdout] test imghash::tests::test_image_hash_distance_with_unequal_hashes ... ok [INFO] [stdout] test imghash::tests::test_image_hash_encoding ... ok [INFO] [stdout] test imghash::tests::test_image_hash_flatten ... ok [INFO] [stdout] test imghash::tests::test_image_hash_encoding_with_uneven_total_bits ... ok [INFO] [stdout] test imghash::tests::test_image_hash_get_matrix ... ok [INFO] [stdout] test imghash::tests::test_image_hash_decoding ... ok [INFO] [stdout] test imghash::tests::test_image_hash_new_with_valid_matrix ... ok [INFO] [stdout] test imghash::tests::test_image_hash_python_safe_encoding_with_single_bit ... ok [INFO] [stdout] test math::tests::test_dct2 ... ok [INFO] [stdout] test math::tests::test_dct2_over_matrix_column ... ok [INFO] [stdout] test math::tests::test_dct2_over_matrix_rows ... ok [INFO] [stdout] test math::tests::test_dct2_over_matrix_with_empty_columns ... ok [INFO] [stdout] test imghash::tests::test_image_hash_shape ... ok [INFO] [stdout] test imghash::tests::test_image_hash_decoding_with_zero_size_matrix ... ok [INFO] [stdout] test math::tests::test_dct2_over_matrix_with_empty_rows ... ok [INFO] [stdout] test imghash::tests::test_image_hash_encoding_with_non_square_matrix ... ok [INFO] [stdout] test math::tests::test_dct2_with_empty_input ... ok [INFO] [stdout] test math::tests::test_median_with_empty_vector ... ok [INFO] [stdout] test math::tests::test_median_with_even_numbers ... ok [INFO] [stdout] test math::tests::test_median_with_uneven_numbers ... ok [INFO] [stdout] test perceptual::tests::test_perceptual_hash_from_nonexisting_path ... ok [INFO] [stdout] test perceptual::tests::test_perceptual_hash_from_txt_file ... ok [INFO] [stdout] test imghash::tests::test_image_hash_encoding_with_empty_matrix - should panic ... ok [INFO] [stdout] test imghash::tests::test_image_hash_new_with_invalid_matrix - should panic ... ok [INFO] [stdout] test tests::test_average_hash_with_txt_file ... ok [INFO] [stdout] test tests::test_difference_hash_with_txt_file ... ok [INFO] [stdout] test tests::test_average_hash ... ok [INFO] [stdout] test tests::test_perceptual_hash_with_txt_file ... ok [INFO] [stdout] test imageops::tests::test_grayscale_with_601 ... ok [INFO] [stdout] test imageops::tests::test_grayscale_with_709 ... ok [INFO] [stdout] test tests::test_perceptual_hash ... ok [INFO] [stdout] test average::tests::test_average_hash_from_img_with_rec_709 ... ok [INFO] [stdout] test average::tests::test_average_hash_from_img ... ok [INFO] [stdout] test imageops::tests::test_convert_with_rec_601 ... ok [INFO] [stdout] test difference::tests::test_difference_hash_from_path ... ok [INFO] [stdout] test perceptual::tests::test_perceptual_hash_from_img ... ok [INFO] [stdout] test imageops::tests::test_convert_with_rec_709 ... ok [INFO] [stdout] test difference::tests::test_difference_hash_from_img ... ok [INFO] [stdout] test average::tests::test_average_hash_from_path ... ok [INFO] [stdout] test difference::tests::test_difference_hash_from_img_with_rec709 ... ok [INFO] [stdout] test perceptual::tests::test_perceptual_hash_from_path ... ok [INFO] [stdout] test tests::test_difference_hash ... ok [INFO] [stdout] test perceptual::tests::test_perceptual_hash_from_img_with_rec_709 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 56 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.05s [INFO] [stdout] [INFO] [stderr] Doc-tests imghash [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b03d074de5644ef70706fb2693ad1c9d7653249d7c43ed54a2a6919c2d7b3090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b03d074de5644ef70706fb2693ad1c9d7653249d7c43ed54a2a6919c2d7b3090", kill_on_drop: false }` [INFO] [stdout] b03d074de5644ef70706fb2693ad1c9d7653249d7c43ed54a2a6919c2d7b3090