Bug#1124216: warp: FTBFS: error[E0308]: mismatched types
Santiago Vila
sanvila at debian.org
Sun Dec 28 18:27:24 GMT 2025
Package: src:warp
Version: 0.9.2-6
Severity: serious
Tags: ftbfs forky sid
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/202512/
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:warp, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
Compiling warp-gtk v0.9.2 (/<<PKGBUILDDIR>>)
Running `CARGO=/usr/bin/cargo CARGO_BIN_NAME=warp-gtk C [too-long-redacted] stry=/usr/share/cargo/registry`
warning: use of deprecated struct `gtk4::ShortcutsWindow`: Since 4.18
--> src/ui/window.rs:299:36
|
299 | let shortcuts: Option<gtk::ShortcutsWindow> = builder.object("help_overlay");
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
error[E0308]: mismatched types
--> src/ui/action_view.rs:329:44
|
329 | ... .choose_future(&window)
| ------------- ^^^^^^^ expected `Option<&_>`, found `&WarpApplicationWindow`
| |
| arguments to this method are incorrect
|
= note: expected enum `std::option::Option<&_>`
found reference `&ui::window::WarpApplicationWindow`
note: method defined here
--> /usr/share/cargo/registry/libadwaita-0.8.1/src/alert_dialog.rs:83:8
|
83 | fn choose_future(
| ^^^^^^^^^^^^^
help: try wrapping the expression in `Some`
|
329 | .choose_future(Some(&window))
| +++++ +
error[E0308]: mismatched types
--> src/ui/action_view.rs:750:71
|
750 | let response = self.window().ask_abort_dialog().choose_future(self).await;
| ------------- ^^^^ expected `Option<&_>`, found `&ActionView`
| |
| arguments to this method are incorrect
|
= note: expected enum `std::option::Option<&_>`
found reference `&action_view::ActionView`
note: method defined here
--> /usr/share/cargo/registry/libadwaita-0.8.1/src/alert_dialog.rs:83:8
|
83 | fn choose_future(
| ^^^^^^^^^^^^^
help: try wrapping the expression in `Some`
|
750 | let response = self.window().ask_abort_dialog().choose_future(Some(self)).await;
| +++++ +
warning: use of deprecated method `libadwaita::prelude::ApplicationWindowExt::set_help_overlay`: Since 4.18
--> src/ui/window.rs:300:14
|
300 | self.set_help_overlay(shortcuts.as_ref());
| ^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> src/util/error.rs:209:27
|
209 | dialog.choose(window, gio::Cancellable::NONE, |_response| {
| ------ ^^^^^^ expected `Option<&_>`, found `&WarpApplicationWindow`
| |
| arguments to this method are incorrect
|
= note: expected enum `std::option::Option<&_>`
found reference `&ui::window::WarpApplicationWindow`
note: method defined here
--> /usr/share/cargo/registry/libadwaita-0.8.1/src/alert_dialog.rs:37:8
|
37 | fn choose<P: FnOnce(glib::GString) + 'static>(
| ^^^^^^
help: try wrapping the expression in `Some`
|
209 | dialog.choose(Some(window), gio::Cancellable::NONE, |_response| {
| +++++ +
For more information about this error, try `rustc --explain E0308`.
warning: `warp-gtk` (bin "warp-gtk") generated 2 warnings
error: could not compile `warp-gtk` (bin "warp-gtk") due to 3 previous errors; 2 warnings emitted
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] argo/registry` (exit status: 1)
[62/63] /usr/bin/msgfmt -o po/zh_TW/LC_MESSAGES/warp-gtk.mo ../po/zh_TW.po
FAILED: [code=101] src/warp-gtk
/usr/bin/env /usr/share/cargo/bin/cargo build --manifest-path /<<PKGBUILDDIR>>/Cargo.toml --target-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src --no-default-features --release --features meson,qr_code_scanning && cp src/x86_64-unknown-linux-gnu/release/warp-gtk src/warp-gtk
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 101
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the pkg-gnome-maintainers
mailing list