#1136860 warp: FTBFS: error[E0277]: can't compare `auto::path::Path` with `auto::path::Path`

Package:
src:warp
Source:
src:warp
Submitter:
Santiago Vila
Date:
2026-06-14 14:27:01 UTC
Severity:
normal
Tags:
#1136860#5
Date:
2026-05-16 16:05:28 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/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:warp, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1469:19
     |
1469 |             #[cfg(feature = "v4_22")]
     |                   ^^^^^^^^^^-------
     |                             |
     |                             help: there is a expected value with a similar name: `"v4_20"`
     |
     = note: expected values for `feature` are: `broadway`, `v4_10`, `v4_14`, `v4_16`, `v4_18`, `v4_2`, `v4_20`, `v4_4`, `v4_6`, and `vulkan`
     = help: consider adding `v4_22` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1471:19
     |
1471 |             #[cfg(feature = "v4_22")]
     |                   ^^^^^^^^^^-------
     |                             |
     |                             help: there is a expected value with a similar name: `"v4_20"`
     |
     = note: expected values for `feature` are: `broadway`, `v4_10`, `v4_14`, `v4_16`, `v4_18`, `v4_2`, `v4_20`, `v4_4`, `v4_6`, and `vulkan`
     = help: consider adding `v4_22` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

error[E0277]: can't compare `auto::path::Path` with `auto::path::Path`
  --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/path.rs:9:21
   |
 9 |     #[derive(Debug, PartialOrd, Ord, Hash)]
   |                     ^^^^^^^^^^ no implementation for `auto::path::Path == auto::path::Path`
   |
   = help: the trait `PartialEq` is not implemented for `auto::path::Path`
note: required by a bound in `PartialOrd`
  --> /usr/src/rustc-1.94.1/library/core/src/cmp.rs:1358:0
help: consider annotating `auto::path::Path` with `#[derive(PartialEq)]`
  --> /usr/share/cargo/registry/glib-0.21.5/src/shared.rs:35:1
   |
35 +         #[derive(PartialEq)]
36 |         $visibility struct $name $(<$($generic $(: $bound $(+ $bound2)*)?),+>)? {
   |

error[E0277]: the trait bound `auto::path::Path: std::cmp::Eq` is not satisfied
  --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/path.rs:9:33
   |
 9 |     #[derive(Debug, PartialOrd, Ord, Hash)]
   |                                 ^^^ the trait `std::cmp::Eq` is not implemented for `auto::path::Path`
   |
note: required by a bound in `Ord`
  --> /usr/src/rustc-1.94.1/library/core/src/cmp.rs:973:0
help: consider annotating `auto::path::Path` with `#[derive(Eq)]`
  --> /usr/share/cargo/registry/glib-0.21.5/src/shared.rs:35:1
   |
35 +         #[derive(Eq)]
36 |         $visibility struct $name $(<$($generic $(: $bound $(+ $bound2)*)?),+>)? {
   |

     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=field_of [too-long-redacted] it --cfg fieldoffset_has_alloc`
warning: unexpected `cfg` condition name: `fieldoffset_assert_in_const_fn`
 --> /usr/share/cargo/registry/field-offset-0.3.6/src/lib.rs:2:13
  |
2 | #![cfg_attr(fieldoffset_assert_in_const_fn, feature(const_panic))]
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
  = help: consider using a Cargo feature instead
  = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
           [lints.rust]
           unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fieldoffset_assert_in_const_fn)'] }
  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fieldoffset_assert_in_const_fn)");` to the top of the `build.rs`
  = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
  = note: `#[warn(unexpected_cfgs)]` on by default

warning: unexpected `cfg` condition name: `fieldoffset_has_alloc`
 --> /usr/share/cargo/registry/field-offset-0.3.6/src/lib.rs:8:17
  |
8 | #[cfg(all(test, fieldoffset_has_alloc))]
  |                 ^^^^^^^^^^^^^^^^^^^^^
  |
  = help: consider using a Cargo feature instead
  = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
           [lints.rust]
           unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fieldoffset_has_alloc)'] }
  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fieldoffset_has_alloc)");` to the top of the `build.rs`
  = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `fieldoffset_maybe_uninit`
  --> /usr/share/cargo/registry/field-offset-0.3.6/src/lib.rs:73:11
   |
73 |     #[cfg(fieldoffset_maybe_uninit)]
   |           ^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: consider using a Cargo feature instead
   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
            [lints.rust]
            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fieldoffset_maybe_uninit)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fieldoffset_maybe_uninit)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `fieldoffset_maybe_uninit`
  --> /usr/share/cargo/registry/field-offset-0.3.6/src/lib.rs:81:15
   |
81 |     #[cfg(not(fieldoffset_maybe_uninit))]
   |               ^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: consider using a Cargo feature instead
   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
            [lints.rust]
            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fieldoffset_maybe_uninit)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fieldoffset_maybe_uninit)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `fieldoffset_assert_in_const_fn`
   --> /usr/share/cargo/registry/field-offset-0.3.6/src/lib.rs:124:15
    |
124 |         #[cfg(fieldoffset_assert_in_const_fn)]
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: consider using a Cargo feature instead
    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
             [lints.rust]
             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fieldoffset_assert_in_const_fn)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fieldoffset_assert_in_const_fn)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: field `0` is never read
  --> /usr/share/cargo/registry/field-offset-0.3.6/src/lib.rs:60:25
   |
60 | struct PhantomContra<T>(fn(T));
   |        -------------    ^^^^^
   |        |
   |        field in this struct
   |
   = help: consider removing this field
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: `field-offset` (lib) generated 6 warnings
   Compiling derive_builder_core v0.20.2
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=derive_b [too-long-redacted] 9f39394.rmeta --cap-lints warn`
warning: hiding a lifetime that's elided elsewhere is confusing
  --> /<<PKGBUILDDIR>>/debian/cargo_registry/derive_builder_core-0.20.2/src/macro_options/darling_opts.rs:28:35
   |
28 |     pub fn to_explicit_visibility(&self) -> Option<Cow<syn::Visibility>> {
   |                                   ^^^^^            ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                   |
   |                                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
note: the lint level is defined here
  --> /<<PKGBUILDDIR>>/debian/cargo_registry/derive_builder_core-0.20.2/src/lib.rs:18:9
   |
18 | #![deny(warnings, missing_docs)]
   |         ^^^^^^^^
   = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]`
help: use `'_` for type paths
   |
28 |     pub fn to_explicit_visibility(&self) -> Option<Cow<'_, syn::Visibility>> {
   |                                                        +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/derive_builder_core-0.20.2/src/macro_options/darling_opts.rs:615:24
    |
615 |     pub fn builder_vis(&self) -> Cow<syn::Visibility> {
    |                        ^^^^^     ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                        |
    |                        the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
615 |     pub fn builder_vis(&self) -> Cow<'_, syn::Visibility> {
    |                                      +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/derive_builder_core-0.20.2/src/macro_options/darling_opts.rs:623:29
    |
623 |     pub fn build_method_vis(&self) -> Cow<syn::Visibility> {
    |                             ^^^^^     ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
623 |     pub fn build_method_vis(&self) -> Cow<'_, syn::Visibility> {
    |                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/derive_builder_core-0.20.2/src/macro_options/darling_opts.rs:646:19
    |
646 |     pub fn fields(&self) -> FieldIter {
    |                   ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
    |                   |
    |                   the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
646 |     pub fn fields(&self) -> FieldIter<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/derive_builder_core-0.20.2/src/macro_options/darling_opts.rs:657:23
    |
657 |     pub fn as_builder(&self) -> Builder {
    |                       ^^^^^     ^^^^^^^ the same lifetime is hidden here
    |                       |
    |                       the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
657 |     pub fn as_builder(&self) -> Builder<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/derive_builder_core-0.20.2/src/macro_options/darling_opts.rs:693:28
    |
693 |     pub fn as_build_method(&self) -> BuildMethod {
    |                            ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
693 |     pub fn as_build_method(&self) -> BuildMethod<'_> {
    |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/derive_builder_core-0.20.2/src/macro_options/darling_opts.rs:791:23
    |
791 |     pub fn setter_vis(&self) -> Cow<syn::Visibility> {
    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                       |
    |                       the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
791 |     pub fn setter_vis(&self) -> Cow<'_, syn::Visibility> {
    |                                     +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/derive_builder_core-0.20.2/src/macro_options/darling_opts.rs:808:22
    |
808 |     pub fn field_vis(&self) -> Cow<syn::Visibility> {
    |                      ^^^^^     ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                      |
    |                      the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
808 |     pub fn field_vis(&self) -> Cow<'_, syn::Visibility> {
    |                                    +++

For more information about this error, try `rustc --explain E0277`.
warning: `gsk4` (lib) generated 23 warnings
error: could not compile `gsk4` (lib) due to 2 previous errors; 23 warnings emitted

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] argo/registry` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
warning: `derive_builder_core` (lib) generated 8 warnings
[62/63] /usr/bin/msgfmt -o po/zh_CN/LC_MESSAGES/warp-gtk.mo ../po/zh_CN.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
--------------------------------------------------------------------------------

#1136860#8
Date:
2026-05-25 14:04:18 UTC
From:
To:
Hello,

Bug #1136860 in warp reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/gnome-team/warp/-/commit/0369933362295891e7a9146be2dd5271180957c7

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1136860

#1136860#15
Date:
2026-05-25 14:34:53 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
warp, 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 1136860@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Geiger <werdahias@debian.org> (supplier of updated warp 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: Mon, 25 May 2026 16:02:28 +0200
Source: warp
Architecture: source
Version: 0.9.2-8
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Matthias Geiger <werdahias@debian.org>
Closes: 1136860
Changes:
 warp (0.9.2-8) unstable; urgency=medium
 .
   * Add patch to build with newer gtk-rs (Closes: #1136860)
Checksums-Sha1:
 af4f8275d326b456c614dc8b62b624585b8f951f 4070 warp_0.9.2-8.dsc
 25d5b18dad5c876e75189d5fa6db566fe5776118 12228 warp_0.9.2-8.debian.tar.xz
 5a9f5b5a97c3c6d50c4781ec257471db9b6b9bb4 1208744 warp_0.9.2-8.git.tar.xz
 473701e71bf2cf35682de61c56ff5135a5935c96 17410 warp_0.9.2-8_source.buildinfo
Checksums-Sha256:
 97debe0109c1566920557909e19f74bea93da206b138e60a502db8646b5ab1ed 4070 warp_0.9.2-8.dsc
 9752140e8ca3c7bcd36a2ef54a4dfa4ac8ea2d95b53c7f9569b0216ba0fb8d48 12228 warp_0.9.2-8.debian.tar.xz
 8dd768867889957316adffb712d2b69c55c9648fd6a2fe6b4b805017777ec4a2 1208744 warp_0.9.2-8.git.tar.xz
 f2d983c51f3370b2aa6ef38ca6ce7fa06b7259cd203360bd04cec3b5d17cf1b6 17410 warp_0.9.2-8_source.buildinfo
Files:
 ed43bcb4123587d8d5961827631d9c62 4070 misc optional warp_0.9.2-8.dsc
 46a5b1f4492f7d5f5fee78875df50b2e 12228 misc optional warp_0.9.2-8.debian.tar.xz
 b423492e3745a4019a9687bbb1abda25 1208744 misc None warp_0.9.2-8.git.tar.xz
 c46136f58a88e66b46f21ca6ede63c07 17410 misc optional warp_0.9.2-8_source.buildinfo
Git-Tag-Info: tag=70ab88f4387166b2adfa56dfd4408e5bfa128791 fp=14593bff4a5ebf6fe0e9716eecbedbb607b9b2be
Git-Tag-Tagger: Matthias Geiger <werdahias@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmoUVz8ACgkQYG0ITkaD
wHlUWhAA7Iz23je5O3qJYS67oOj0QRh++EJ+UEKay3CczFD6JfNpPzuMJ8mg7GuD
xb6LYsTmVB0M7/8otsYgXcozUO84BBcuOp2dGkWARDgqfWoW4csvdvn8uAOq3css
oE+QvgEVLc5cweYoYXkWNp/5YBH+hOjBTlinql6eJaCTzGKJ9QF0sVDJFZuO3t3q
04oDpKn0cNfn5P2Uz0xUcPA/rGtK8dlXp079Finm9OsQ8yrvboh1vrBqD0ZrqNaX
jIq1unuQ0+i2o1tBM7Ifu765aZK67zUjI+ibNeMWnnReGkXIFT9Q/l9zStXgFluo
3VSDS+B0E+HNf1Lp1W4+9ra5idyjtLYGpuzoyRmGI37/uO0nJx9tmMjM0wbsgkCs
xxVJW8FvrM7vkrEkM0sM2GrkS/BbJ0HmhRX6ukVBjc73ygECwt9Dn6kwmDHXZpYc
IW/ORDZ7HHl4+9yYNJu15O8b51sQVRPFRNZqdrMxEcWwzHnWvGPzgo58SQ1wYDBj
0gn1GbvDrzrZIPJ7cJ/uVCYG3cANgnot0F09BAT3Qd7G5tCdE3171P7jzqQTPFMx
JHADOhFQGXueoP9jfgsSrXQNaY+wwSaJl8I6w42xRc535EiRaAdyuoTBXpxGakWS
lYu8iEDnSFL76qAkv4y+4p1eJEleI9uxwoVr1QOOukeoXsCj5do=
=bZ5D
-----END PGP SIGNATURE-----