[Pkg-rust-maintainers] Bug#1103109: rust-imagepipe: FTBFS in testing/i386: dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
Lucas Nussbaum
lucas at debian.org
Mon Apr 14 12:24:06 BST 2025
Source: rust-imagepipe
Version: 0.5.0-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250414 ftbfs-trixie
Hi,
During a rebuild of all packages in testing (trixie), your package failed
to build on i386.
Relevant part (hopefully):
> running 37 tests
> test color_conversions::tests::roundtrip_16bit ... ok
> test color_conversions::tests::roundtrip_8bit ... ok
> test color_conversions::tests::roundtrip_8bit_gamma ... ok
> test color_conversions::tests::roundtrip_16bit_values_image_crate ... ok
> test color_conversions::tests::roundtrip_8bit_values_image_crate ... ok
> test ops::curves::tests::extremes ... ok
> test ops::curves::tests::high_blackpoint ... ok
> test ops::curves::tests::low_whitepoint ... ok
> test ops::curves::tests::saturates ... ok
> test ops::rotatecrop::tests::crop_bottom ... ok
> test ops::rotatecrop::tests::crop_horizontal ... ok
> test ops::rotatecrop::tests::crop_horizontal_and_vertical ... ok
> test ops::rotatecrop::tests::crop_left ... ok
> test ops::rotatecrop::tests::crop_right ... ok
> test ops::rotatecrop::tests::crop_top ... ok
> test ops::rotatecrop::tests::crop_vertical ... ok
> test ops::rotatecrop::tests::rotate_45 ... ok
> test ops::rotatecrop::tests::rotate_90 ... ok
> test color_conversions::tests::roundtrip_16bit_lab_rgb ... FAILED
> test color_conversions::tests::roundtrip_16bit_gamma ... FAILED
> test color_conversions::tests::roundtrip_16bit_lab_rgb_gamma ... FAILED
> test ops::transform::tests::rotate_flip_x ... ok
> test ops::transform::tests::rotate_normal ... ok
> test ops::transform::tests::rotate_flip_y ... ok
> test color_conversions::tests::roundtrip_8bit_lab_rgb_gamma ... FAILED
> test color_conversions::tests::roundtrip_8bit_lab_rgb ... FAILED
> test ops::transform::tests::rotate_rotate180 ... ok
> test ops::transform::tests::rotate_rotate270_cw ... ok
> test ops::transform::tests::rotate_transverse ... ok
> test ops::transform::tests::rotate_unknown ... ok
> test ops::transform::tests::rotate_transpose ... ok
> test ops::transform::tests::rotate_rotate90_cw ... ok
> test scaling::tests::scaling_noop ... ok
> test ops::rotatecrop::tests::roundtrip_transform_rotation ... ok
> test ops::rotatecrop::tests::roundtrip_transform ... ok
> test color_conversions::tests::roundtrip_8bit_lab_xyz ... ok
> test color_conversions::tests::roundtrip_16bit_lab_xyz has been running for over 60 seconds
> test color_conversions::tests::roundtrip_16bit_lab_xyz ... ok
>
> failures:
>
> ---- color_conversions::tests::roundtrip_16bit_lab_rgb stdout ----
>
> thread 'color_conversions::tests::roundtrip_16bit_lab_rgb' panicked at src/color_conversions.rs:550:11:
> assertion `left == right` failed
> left: (4, 388, 61298)
> right: (0, 388, 61307)
> stack backtrace:
> 0: rust_begin_unwind
> at /usr/src/rustc-1.85.0/library/std/src/panicking.rs:692:5
> 1: core::panicking::panic_fmt
> at /usr/src/rustc-1.85.0/library/core/src/panicking.rs:75:14
> 2: core::panicking::assert_failed_inner
> 3: core::panicking::assert_failed
> at /usr/src/rustc-1.85.0/library/core/src/panicking.rs:364:5
> 4: imagepipe::color_conversions::tests::roundtrip_16bit_lab_rgb
> 5: imagepipe::color_conversions::tests::roundtrip_16bit_lab_rgb::{{closure}}
> at /usr/share/cargo/registry/imagepipe-0.5.0/src/color_conversions.rs:533:31
> 6: core::ops::function::FnOnce::call_once
> at /usr/src/rustc-1.85.0/library/core/src/ops/function.rs:250:5
> 7: core::ops::function::FnOnce::call_once
> at /usr/src/rustc-1.85.0/library/core/src/ops/function.rs:250:5
> note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
>
> ---- color_conversions::tests::roundtrip_16bit_gamma stdout ----
>
> thread 'color_conversions::tests::roundtrip_16bit_gamma' panicked at src/color_conversions.rs:400:7:
> assertion `left == right` failed
> left: 9361
> right: 9353
> stack backtrace:
> 0: rust_begin_unwind
> at /usr/src/rustc-1.85.0/library/std/src/panicking.rs:692:5
> 1: core::panicking::panic_fmt
> at /usr/src/rustc-1.85.0/library/core/src/panicking.rs:75:14
> 2: core::panicking::assert_failed_inner
> 3: core::panicking::assert_failed
> at /usr/src/rustc-1.85.0/library/core/src/panicking.rs:364:5
> 4: imagepipe::color_conversions::tests::roundtrip_16bit_gamma
> at /usr/share/cargo/registry/imagepipe-0.5.0/src/color_conversions.rs:400:7
> 5: imagepipe::color_conversions::tests::roundtrip_16bit_gamma::{{closure}}
> at /usr/share/cargo/registry/imagepipe-0.5.0/src/color_conversions.rs:398:29
> 6: core::ops::function::FnOnce::call_once
> at /usr/src/rustc-1.85.0/library/core/src/ops/function.rs:250:5
> 7: core::ops::function::FnOnce::call_once
> at /usr/src/rustc-1.85.0/library/core/src/ops/function.rs:250:5
> note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
>
> ---- color_conversions::tests::roundtrip_16bit_lab_rgb_gamma stdout ----
> Got (56, 480, 58676) instead of (0, 485, 58681)
>
> thread 'color_conversions::tests::roundtrip_16bit_lab_rgb_gamma' panicked at src/color_conversions.rs:417:5:
> assertion failed: condition
> stack backtrace:
> 0: rust_begin_unwind
> at /usr/src/rustc-1.85.0/library/std/src/panicking.rs:692:5
> 1: core::panicking::panic_fmt
> at /usr/src/rustc-1.85.0/library/core/src/panicking.rs:75:14
> 2: core::panicking::panic
> at /usr/src/rustc-1.85.0/library/core/src/panicking.rs:145:5
> 3: imagepipe::color_conversions::tests::assert_offby
> at /usr/share/cargo/registry/imagepipe-0.5.0/src/color_conversions.rs:417:5
> 4: imagepipe::color_conversions::tests::roundtrip_16bit_lab_rgb_gamma
> at /usr/share/cargo/registry/imagepipe-0.5.0/src/color_conversions.rs:596:11
> 5: imagepipe::color_conversions::tests::roundtrip_16bit_lab_rgb_gamma::{{closure}}
> at /usr/share/cargo/registry/imagepipe-0.5.0/src/color_conversions.rs:568:37
> 6: core::ops::function::FnOnce::call_once
> at /usr/src/rustc-1.85.0/library/core/src/ops/function.rs:250:5
> 7: core::ops::function::FnOnce::call_once
> at /usr/src/rustc-1.85.0/library/core/src/ops/function.rs:250:5
> note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
>
> ---- color_conversions::tests::roundtrip_8bit_lab_rgb_gamma stdout ----
>
> thread 'color_conversions::tests::roundtrip_8bit_lab_rgb_gamma' panicked at src/color_conversions.rs:491:11:
> assertion `left == right` failed
> left: (0, 114, 0)
> right: (0, 114, 1)
> stack backtrace:
> 0: rust_begin_unwind
> at /usr/src/rustc-1.85.0/library/std/src/panicking.rs:692:5
> 1: core::panicking::panic_fmt
> at /usr/src/rustc-1.85.0/library/core/src/panicking.rs:75:14
> 2: core::panicking::assert_failed_inner
> 3: core::panicking::assert_failed
> at /usr/src/rustc-1.85.0/library/core/src/panicking.rs:364:5
> 4: imagepipe::color_conversions::tests::roundtrip_8bit_lab_rgb_gamma
> at /usr/share/cargo/registry/imagepipe-0.5.0/src/color_conversions.rs:491:11
> 5: imagepipe::color_conversions::tests::roundtrip_8bit_lab_rgb_gamma::{{closure}}
> at /usr/share/cargo/registry/imagepipe-0.5.0/src/color_conversions.rs:466:36
> 6: core::ops::function::FnOnce::call_once
> at /usr/src/rustc-1.85.0/library/core/src/ops/function.rs:250:5
> 7: core::ops::function::FnOnce::call_once
> at /usr/src/rustc-1.85.0/library/core/src/ops/function.rs:250:5
> note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
>
> ---- color_conversions::tests::roundtrip_8bit_lab_rgb stdout ----
>
> thread 'color_conversions::tests::roundtrip_8bit_lab_rgb' panicked at src/color_conversions.rs:459:11:
> assertion `left == right` failed
> left: (1, 9, 215)
> right: (1, 10, 215)
> stack backtrace:
> 0: rust_begin_unwind
> at /usr/src/rustc-1.85.0/library/std/src/panicking.rs:692:5
> 1: core::panicking::panic_fmt
> at /usr/src/rustc-1.85.0/library/core/src/panicking.rs:75:14
> 2: core::panicking::assert_failed_inner
> 3: core::panicking::assert_failed
> at /usr/src/rustc-1.85.0/library/core/src/panicking.rs:364:5
> 4: imagepipe::color_conversions::tests::roundtrip_8bit_lab_rgb
> at /usr/share/cargo/registry/imagepipe-0.5.0/src/color_conversions.rs:459:11
> 5: imagepipe::color_conversions::tests::roundtrip_8bit_lab_rgb::{{closure}}
> at /usr/share/cargo/registry/imagepipe-0.5.0/src/color_conversions.rs:443:30
> 6: core::ops::function::FnOnce::call_once
> at /usr/src/rustc-1.85.0/library/core/src/ops/function.rs:250:5
> 7: core::ops::function::FnOnce::call_once
> at /usr/src/rustc-1.85.0/library/core/src/ops/function.rs:250:5
> note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
>
>
> failures:
> color_conversions::tests::roundtrip_16bit_gamma
> color_conversions::tests::roundtrip_16bit_lab_rgb
> color_conversions::tests::roundtrip_16bit_lab_rgb_gamma
> color_conversions::tests::roundtrip_8bit_lab_rgb
> color_conversions::tests::roundtrip_8bit_lab_rgb_gamma
>
> test result: FAILED. 32 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 144.00s
>
> error: test failed, to rerun pass `--lib`
> dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
The full build log is available from:
http://qa-logs.debian.net/2025/04/14/rust-imagepipe_0.5.0-3_testing-i386.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250414;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250414&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-rust-maintainers
mailing list