#1136858 rust-tiny-dfr: FTBFS: error[E0599]: no method named `ok_or` found for struct `librsvg_rebind::Handle` in the current scope #1136858
- Package:
- src:rust-tiny-dfr
- Source:
- src:rust-tiny-dfr
- Submitter:
- Santiago Vila
- Date:
- 2026-06-14 12:17:02 UTC
- Severity:
- normal
- Tags:
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202605/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:rust-tiny-dfr, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] Compiling toml v0.8.20 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=toml CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/toml-0.8.20 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/toml-0.8.20/Cargo.toml CARGO_PKG_AUTHORS='Alex Crichton <alex@alexcrichton.com>' CARGO_PKG_DESCRIPTION='A native Rust encoder and decoder of TOML-formatted files and streams. Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures. ' CARGO_PKG_HOMEPAGE='https://github.com/toml-rs/toml' CARGO [too-long-redacted] stry=/usr/share/cargo/registry` warning: `input-linux` (lib) generated 7 warnings Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=anyhow C [too-long-redacted] (error_generic_member_access)'` Compiling privdrop v0.5.4 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=privdrop [too-long-redacted] stry=/usr/share/cargo/registry` Running `CARGO=/usr/bin/cargo CARGO_BIN_NAME=tiny-dfr C [too-long-redacted] -gnu -l fontconfig -l freetype` error[E0599]: no method named `ok_or` found for struct `librsvg_rebind::Handle` in the current scope --> src/main.rs:104:34 | 104 | Handle::from_file(path)?.ok_or(anyhow!("failed to load image"))?, | ^^^^^ method not found in `librsvg_rebind::Handle` For more information about this error, try `rustc --explain E0599`. error: could not compile `tiny-dfr` (bin "tiny-dfr" test) due to 1 previous error Caused by: process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] g -l freetype` (exit status: 1) 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 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:3: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
We believe that the bug you reported is fixed in the latest version of rust-tiny-dfr, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1136858@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. NoisyCoil <noisycoil@debian.org> (supplier of updated rust-tiny-dfr package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Sat, 23 May 2026 00:29:33 +0200 Source: rust-tiny-dfr Architecture: source Version: 0.3.7-1 Distribution: unstable Urgency: medium Maintainer: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> Changed-By: NoisyCoil <noisycoil@debian.org> Closes: 1136858 Changes: rust-tiny-dfr (0.3.7-1) unstable; urgency=medium . * Package tiny-dfr 0.3.7 from crates.io using debcargo 2.8.2 * Bump cairo-rs to v0.22 and librsvg-rebind to 0.3 (Closes: #1136858) Checksums-Sha1: 615530d9b8677c5c04e38cd2f6b9985f75929e91 2403 rust-tiny-dfr_0.3.7-1.dsc 6df5627310b70c8bed2af086f6ae91960b1cfc20 41596 rust-tiny-dfr_0.3.7.orig.tar.gz 3b2668b51c7d2da589f537b01dd4f0e8542fb3e2 4676 rust-tiny-dfr_0.3.7-1.debian.tar.xz 3dad97923db7d0a29819be34ee251ae0aaeae8bd 6796 rust-tiny-dfr_0.3.7-1_source.buildinfo Checksums-Sha256: b844e49b18dc1333d6ac463ff067d01cc71eef7e4eccdf2c21c98928fc2c761c 2403 rust-tiny-dfr_0.3.7-1.dsc 5ca2d7d41e627c2f66908a0cdb5f817b8457a2c24014ad5841f3090aa7bb67db 41596 rust-tiny-dfr_0.3.7.orig.tar.gz 92cc3cd18663575a15b775b76183ecfb206963e318f4f1f0dfe0e647315cfd65 4676 rust-tiny-dfr_0.3.7-1.debian.tar.xz d6609c7afe9d715f8e49774609d102a097acc20611e555d59f2401b4c68032ce 6796 rust-tiny-dfr_0.3.7-1_source.buildinfo Files: d07a284010d76cb6d07f822f9f42942f 2403 utils optional rust-tiny-dfr_0.3.7-1.dsc cfa6e1ab213615683feba80e15a6b396 41596 utils optional rust-tiny-dfr_0.3.7.orig.tar.gz 922b8c9ea5788ed15f8580379d2f67e3 4676 utils optional rust-tiny-dfr_0.3.7-1.debian.tar.xz 124bcbaef0cb4c39ef9c643bd609de32 6796 utils optional rust-tiny-dfr_0.3.7-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQTG2tnBBHBfQbhyoL0kh/33+B9MIwUCahDY0wAKCRAkh/33+B9M I7SNAP9UsJLflievgpJp6cb6Crgn3YQp+jROS6LmNgigvitAUwD+MAm6id5oa1er X4ASZUSoR5QmivsChsy7LW3BqzDj3gM= =isBF -----END PGP SIGNATURE-----
Please do not remove this package from testing. The migration of its fixed version is blocked by another package. See bug #1139700.