Source: rust-imgref Version: 1.12.3-1 Severity: serious Tags: ftbfs patch Forwarded: https://github.com/kornelski/imgref/commit/d4e4c27772b5767f078f17a210e54bcea2a31839 X-Debbugs-Cc: Alexander Kjäll <[email protected]>
https://buildd.debian.org/status/logs.php?pkg=rust-imgref&ver=1.12.3-1 ... running 22 tests test ops::index ... ok test iter::pixels_ref_iter_send_requires_sync_pixels ... ok test ops::index_by_row ... ok test tests::mut_pixels ... ok test iter::iter ... ok test tests::rows ... ok test iter::pixels_mut_len_overflow_can_create_oob_line_end - should panic ... ok test tests::sub ... ok test iter::pixels_mut_len_overflow_can_walk_oob - should panic ... ok test tests::with_opinionated_container::compiles ... ok test tests::with_slice ... ok test tests::with_vec ... ok test tests::zero ... ok test iter::pixels_ref_len_overflow_can_walk_oob - should panic ... ok test tests::zero_height ... ok test tests::zero_width ... ok test traits::test_eq_hash ... ok test iter::rows_iter_len_overflow_can_create_oob_slice - should panic ... ok test ops::index_u32_with_huge_stride_does_not_wrap - should panic ... ok test tests::oversized_dimensions - should panic ... FAILED test tests::rows_mut_len_overflow_uses_checked_length - should panic ... ok test tests::into_contiguous_buf ... ok failures: ---- tests::oversized_dimensions stdout ---- thread 'tests::oversized_dimensions' (217) panicked at src/lib.rs:928:47: attempt to shift left with overflow stack backtrace: 0: __rustc::rust_begin_unwind at /usr/src/rustc-1.95.0/library/std/src/panicking.rs:689:5 1: core::panicking::panic_fmt at /usr/src/rustc-1.95.0/library/core/src/panicking.rs:80:14 2: core::panicking::panic_const::panic_const_shl_overflow at /usr/src/rustc-1.95.0/library/core/src/panicking.rs:175:17 3: imgref::tests::oversized_dimensions at /usr/share/cargo/registry/imgref-1.12.3/src/lib.rs:928:47 4: imgref::tests::oversized_dimensions::{{closure}} at /usr/share/cargo/registry/imgref-1.12.3/src/lib.rs:927:30 5: core::ops::function::FnOnce::call_once at /usr/src/rustc-1.95.0/library/core/src/ops/function.rs:250:5 6: <fn() -> core::result::Result<(), alloc::string::String> as core::ops::function::FnOnce<()>>::call_once at /usr/src/rustc-1.95.0/library/core/src/ops/function.rs:250:5 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. note: panic did not contain expected string panic message: "attempt to shift left with overflow" expected substring: "Invalid ImgRef params" failures: tests::oversized_dimensions test result: FAILED. 21 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s error: test failed, to rerun pass `--lib` dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101 make[1]: *** [debian/rules:6: override_dh_auto_test] Error 25

