Bug#1096227: kooha: FTBFS: error[E0599]: the method `peek_fds` exists for enum `Option<UnixFDList>`, but its trait bounds were not satisfied

Lucas Nussbaum lucas at debian.org
Mon Feb 17 16:37:09 GMT 2025


Source: kooha
Version: 2.3.0-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250215 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> error[E0599]: the method `peek_fds` exists for enum `Option<UnixFDList>`, but its trait bounds were not satisfied
>    --> src/screencast_portal/mod.rs:184:55
>     |
> 184 |         tracing::trace!(%response, fd_list = ?fd_list.peek_fds(), "Opened pipe wire remote");
>     |                                                       ^^^^^^^^ method cannot be called on `Option<UnixFDList>` due to unsatisfied trait bounds
>     |
>     = note: the following trait bounds were not satisfied:
>             `std::option::Option<UnixFDList>: libadwaita::prelude::IsA<UnixFDList>`
>             which is required by `std::option::Option<UnixFDList>: libadwaita::prelude::UnixFDListExtManual`
> note: the method `peek_fds` exists on the type `UnixFDList`
>    --> /usr/share/cargo/registry/gio-0.20.7/src/unix_fd_list.rs:63:5
>     |
> 63  |     fn peek_fds(&self) -> Vec<RawFd> {
>     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> help: consider using `Option::expect` to unwrap the `UnixFDList` value, panicking if the value is an `Option::None`
>     |
> 184 |         tracing::trace!(%response, fd_list = ?fd_list.expect("REASON").peek_fds(), "Opened pipe wire remote");
>     |                                                      +++++++++++++++++
> 
> error[E0599]: the method `length` exists for enum `Option<UnixFDList>`, but its trait bounds were not satisfied
>    --> src/screencast_portal/mod.rs:188:34
>     |
> 188 |         debug_assert_eq!(fd_list.length(), 1);
>     |                                  ^^^^^^ method cannot be called on `Option<UnixFDList>` due to unsatisfied trait bounds
>     |
>     = note: the following trait bounds were not satisfied:
>             `std::option::Option<UnixFDList>: libadwaita::prelude::IsA<EntryBuffer>`
>             which is required by `std::option::Option<UnixFDList>: libadwaita::prelude::EntryBufferExtManual`
>             `std::option::Option<UnixFDList>: libadwaita::prelude::IsA<InetAddressMask>`
>             which is required by `std::option::Option<UnixFDList>: libadwaita::prelude::InetAddressMaskExt`
>             `std::option::Option<UnixFDList>: libadwaita::prelude::IsA<UnixFDList>`
>             which is required by `std::option::Option<UnixFDList>: libadwaita::prelude::UnixFDListExt`
> note: the method `length` exists on the type `UnixFDList`
>    --> /usr/share/cargo/registry/gio-0.20.7/src/auto/unix_fd_list.rs:43:5
>     |
> 43  |     fn length(&self) -> i32 {
>     |     ^^^^^^^^^^^^^^^^^^^^^^^
> help: consider using `Option::expect` to unwrap the `UnixFDList` value, panicking if the value is an `Option::None`
>     |
> 188 |         debug_assert_eq!(fd_list.expect("REASON").length(), 1);
>     |                                 +++++++++++++++++
> 
> error[E0599]: the method `get` exists for enum `Option<UnixFDList>`, but its trait bounds were not satisfied
>    --> src/screencast_portal/mod.rs:191:14
>     |
> 190 |           let fd = fd_list
>     |  __________________-
> 191 | |             .get(fd_index.0)
>     | |_____________-^^^
>     |
>     = note: the following trait bounds were not satisfied:
>             `std::option::Option<UnixFDList>: libadwaita::prelude::IsA<TreeModel>`
>             which is required by `std::option::Option<UnixFDList>: libadwaita::prelude::TreeModelExtManual`
>             `std::option::Option<UnixFDList>: libadwaita::prelude::IsA<UnixFDList>`
>             which is required by `std::option::Option<UnixFDList>: libadwaita::prelude::UnixFDListExtManual`
>             `std::option::Option<UnixFDList>: libadwaita::prelude::IsA<libadwaita::gio::Settings>`
>             which is required by `std::option::Option<UnixFDList>: libadwaita::prelude::SettingsExtManual`
>             `std::option::Option<UnixFDList>: libadwaita::prelude::IsA<DBusInterface>`
>             which is required by `std::option::Option<UnixFDList>: libadwaita::prelude::DBusInterfaceExt`
> note: the method `get` exists on the type `UnixFDList`
>    --> /usr/share/cargo/registry/gio-0.20.7/src/unix_fd_list.rs:50:5
>     |
> 50  |     fn get(&self, index_: i32) -> Result<RawFd, glib::Error> {
>     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     = help: items from traits can only be used if the trait is in scope
> help: consider using `Option::expect` to unwrap the `UnixFDList` value, panicking if the value is an `Option::None`
>     |
> 190 |         let fd = fd_list.expect("REASON")
>     |                         +++++++++++++++++
> help: trait `PropertyGet` which provides `get` is implemented but not in scope; perhaps you want to import it
>     |
> 1   + use libadwaita::glib::property::PropertyGet;
>     |
> 
> For more information about this error, try `rustc --explain E0599`.
> warning: `kooha` (bin "kooha") generated 37 warnings
> error: could not compile `kooha` (bin "kooha") due to 3 previous errors; 37 warnings emitted
> 
> Caused by:
>   process didn't exit successfully: `CARGO=/usr/share/cargo/bin/cargo CARGO_BIN_NAME=kooha CARGO_CRATE_NAME=kooha CARGO_MANIFEST_DIR=/build/reproducible-path/kooha-2.3.0 CARGO_MANIFEST_PATH=/build/reproducible-path/kooha-2.3.0/Cargo.toml CARGO_PKG_AUTHORS='Dave Patrick Caberto <davecruz48 at gmail.com>' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=GPL-3.0-or-later CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=kooha CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=2.3.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/release/deps rustc --crate-name kooha --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=298dc888c5c0548e -C extra-filename=-298dc888c5c0548e --out-dir /build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps -L dependency=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/release/deps --extern anyhow=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libanyhow-8a1299fee214a653.rlib --extern futures_channel=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libfutures_channel-0c07f9537b2e7367.rlib --extern futures_util=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libfutures_util-fbd5017087bbb5c5.rlib --extern gdk_wayland=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libgdk4_wayland-9bbd2fdac4ccd7ee.rlib --extern gdk_x11=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libgdk4_x11-904f15ceac1a6289.rlib --extern gettextrs=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libgettextrs-04bfc6ef4acc5ddf.rlib --extern gsettings_macro=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/release/deps/libgsettings_macro-35203d8223b379b0.so --extern gstgif=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libgstgif-f35e1d00d5e521a3.rlib --extern gstgtk4=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libgstgtk4-8f077986168031f9.rlib --extern gst=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libgstreamer-86769540bb410fbd.rlib --extern gtk=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libgtk4-5edbff376a49f567.rlib --extern adw=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/liblibadwaita-94b3480972332134.rlib --extern num_traits=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libnum_traits-711c1a9973a341b3.rlib --extern once_cell=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libonce_cell-7b39e42f04921506.rlib --extern serde=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libserde-67fef43d11b50d31.rlib --extern serde_yaml=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libserde_yaml-90207b3ad6f530a3.rlib --extern tracing=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libtracing-4456213e2ae870f0.rlib --extern tracing_subscriber=/build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/deps/libtracing_subscriber-f893f479d44441a4.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro -C link-arg=-Wl,-z,now --remap-path-prefix /build/reproducible-path/kooha-2.3.0=/usr/share/cargo/registry/kooha-2.3.0 --remap-path-prefix /build/reproducible-path/kooha-2.3.0/debian/cargo_registry=/usr/share/cargo/registry` (exit status: 1)
> [47/48] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt data/io.github.seadve.Kooha.metainfo.xml.in data/io.github.seadve.Kooha.metainfo.xml xml /build/reproducible-path/kooha-2.3.0/po
> FAILED: src/kooha 
> /usr/bin/env /usr/share/cargo/bin/cargo build --manifest-path /build/reproducible-path/kooha-2.3.0/Cargo.toml --target-dir /build/reproducible-path/kooha-2.3.0/obj-x86_64-linux-gnu/src --release && cp src/x86_64-unknown-linux-gnu/release/kooha src/kooha
> ninja: build stopped: subcommand failed.
> dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
> make: *** [debian/rules:14: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2025/02/15/kooha_2.3.0-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250215;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250215&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-gnome-maintainers mailing list