#1149492 swayosd: FTBFS: error[E0034]: multiple applicable items in scope

#1149492#5
Date:
2026-09-29 23:07:11 UTC
From:
To:
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/202609/

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:swayosd, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
   |
49 -                 .update_property(&[gtk::accessible::Property::ValueNow(value as f64)]);
49 +                 .property(&[gtk::accessible::Property::ValueNow(value as f64)]);
   |

error[E0034]: multiple applicable items in scope
   --> src/server/widgets/segmented_progress_widget/imp.rs:75:8
    |
 75 |                     ..set_parent(&*self.obj());
    |                       ^^^^^^^^^^ multiple `set_parent` found
    |
    = note: candidate #1 is defined in an impl of the trait `gtk4::prelude::GtkMountOperationExt` for the type `O`
    = note: candidate #2 is defined in an impl of the trait `gtk4::prelude::WidgetExt` for the type `O`
help: disambiguate the method for candidate #1
   --> /usr/share/cargo/registry/cascade-1.0.1/src/lib.rs:119:13
    |
119 -             $i.$($q($($e),*)).+;
119 +             gtk4::prelude::GtkMountOperationExt::set_parent(&$i, &*self.obj())).+;
    |
help: disambiguate the method for candidate #2
   --> /usr/share/cargo/registry/cascade-1.0.1/src/lib.rs:119:13
    |
119 -             $i.$($q($($e),*)).+;
119 +             gtk4::prelude::WidgetExt::set_parent(&$i, &*self.obj())).+;
    |

Some errors have detailed explanations: E0034, E0308, E0425, E0433, E0599.
For more information about an error, try `rustc --explain E0034`.
warning: `swayosd` (bin "swayosd-server") generated 2 warnings
error: could not compile `swayosd` (bin "swayosd-server") due to 9 previous errors; 2 warnings emitted

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] _64-linux-gnu` (exit status: 1)
FAILED: [code=101] src/swayosd-server src/swayosd-client src/swayosd-libinput-backend
env CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_TARGET_DIR=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src CARGO_PROFILE=debug /usr/share/cargo/bin/cargo build --release && cp -f src/x86_64-unknown-linux-gnu/release/swayosd-server src/x86_64-unknown-linux-gnu/release/swayosd-client src/x86_64-unknown-linux-gnu/release/swayosd-libinput-backend src
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j1 -v returned exit code 101
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------