rust-pangocairo: 0.16.3 autopkgtest failures

Bug #2020880 reported by Simon Chopin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rust-gio (Ubuntu)
Fix Released
Undecided
Unassigned
rust-pangocairo (Debian)
Fix Released
Unknown
rust-pangocairo (Ubuntu)
Fix Released
Undecided
Simon Chopin

Bug Description

The rust-pangocairo autopkgtests fail with the following error:

--> tests/check_gir.rs:6:16
  |
6 | println!("{res}");
  | ^^^ `Errors` cannot be formatted with the default formatter
  |
  = help: the trait `std::fmt::Display` is not implemented for `Errors`
  = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
  = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0277`.
error: could not compile `pangocairo` due to previous error

It's due to the gir-format-check crate being too old in the archive, its Errors struct not implementing Display until the 0.1.2 version.

Revision history for this message
Simon Chopin (schopin) wrote :

I've pushed an updated version of gir-format-check to the Debian Rust debcargo-conf repo, we now "just" need to wait for a DD familiar with that team's processes to sponsor it. I'd rather not upload to Ubuntu directly.

Revision history for this message
Simon Chopin (schopin) wrote :

It also affects the rust-gio package in the same way.

Changed in rust-pangocairo (Debian):
status: Unknown → New
Changed in rust-pangocairo (Debian):
status: New → Fix Released
Jeremy Bícha (jbicha)
Changed in rust-pangocairo (Ubuntu):
status: Confirmed → Fix Committed
Changed in rust-gio (Ubuntu):
status: New → Fix Committed
Jeremy Bícha (jbicha)
Changed in rust-pangocairo (Ubuntu):
status: Fix Committed → Fix Released
Jeremy Bícha (jbicha)
Changed in rust-gio (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.