Package: src:xdg-desktop-portal-phosh
Version: 0.51.0-3
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:xdg-desktop-portal-phosh, so that this is 
still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf /<<PKGBUILDDIR>>/debian/cargo_home
rm -rf /<<PKGBUILDDIR>>/debian/cargo_registry
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules execute_before_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/share/cargo/bin/cargo prepare-debian 
/<<PKGBUILDDIR>>/debian/cargo_registry --link-from-system

[... snipped ...]

   |
32 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std_rng")))]
   |            ^^^^^^^
   |
   = 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(doc_cfg)'] }
   = help: or consider adding 
`println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg`
  --> /usr/share/cargo/registry/rand-0.8.5/src/rngs/thread.rs:60:12
   |
60 | #[cfg_attr(doc_cfg, doc(cfg(all(feature = "std", feature = "std_rng"))))]
   |            ^^^^^^^
   |
   = 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(doc_cfg)'] }
   = help: or consider adding 
`println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg`
  --> /usr/share/cargo/registry/rand-0.8.5/src/rngs/thread.rs:87:12
   |
87 | #[cfg_attr(doc_cfg, doc(cfg(all(feature = "std", feature = "std_rng"))))]
   |            ^^^^^^^
   |
   = 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(doc_cfg)'] }
   = help: or consider adding 
`println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg`
  --> /usr/share/cargo/registry/rand-0.8.5/src/seq/mod.rs:29:12
   |
29 | #[cfg_attr(doc_cfg, doc(cfg(feature = "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(doc_cfg)'] }
   = help: or consider adding 
`println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg`
   --> /usr/share/cargo/registry/rand-0.8.5/src/seq/mod.rs:623:12
    |
623 | #[cfg_attr(doc_cfg, doc(cfg(feature = "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(doc_cfg)'] }
    = help: or consider adding 
`println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg`
   --> /usr/share/cargo/registry/rand-0.8.5/src/seq/index.rs:276:12
    |
276 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))]
    |            ^^^^^^^
    |
    = 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(doc_cfg)'] }
    = help: or consider adding 
`println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg`
   --> /usr/share/cargo/registry/rand-0.8.5/src/seq/mod.rs:114:16
    |
114 |     #[cfg_attr(doc_cfg, doc(cfg(feature = "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(doc_cfg)'] }
    = help: or consider adding 
`println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg`
   --> /usr/share/cargo/registry/rand-0.8.5/src/seq/mod.rs:142:16
    |
142 |     #[cfg_attr(doc_cfg, doc(cfg(feature = "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(doc_cfg)'] }
    = help: or consider adding 
`println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg`
   --> /usr/share/cargo/registry/rand-0.8.5/src/seq/mod.rs:170:16
    |
170 |     #[cfg_attr(doc_cfg, doc(cfg(feature = "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(doc_cfg)'] }
    = help: or consider adding 
`println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg`
   --> /usr/share/cargo/registry/rand-0.8.5/src/seq/mod.rs:219:16
    |
219 |     #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))]
    |                ^^^^^^^
    |
    = 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(doc_cfg)'] }
    = help: or consider adding 
`println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg`
   --> /usr/share/cargo/registry/rand-0.8.5/src/seq/mod.rs:465:16
    |
465 |     #[cfg_attr(doc_cfg, doc(cfg(feature = "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(doc_cfg)'] }
    = help: or consider adding 
`println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: trait `Float` is never used
   --> /usr/share/cargo/registry/rand-0.8.5/src/distributions/utils.rs:238:18
    |
238 | pub(crate) trait Float: Sized {
    |                  ^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: associated items `lanes`, `extract`, and `replace` are never used
   --> /usr/share/cargo/registry/rand-0.8.5/src/distributions/utils.rs:247:8
    |
245 | pub(crate) trait FloatAsSIMD: Sized {
    |                  ----------- associated items in this trait
246 |     #[inline(always)]
247 |     fn lanes() -> usize {
    |        ^^^^^
...
255 |     fn extract(self, index: usize) -> Self {
    |        ^^^^^^^
...
260 |     fn replace(self, index: usize, new_value: Self) -> Self {
    |        ^^^^^^^

warning: method `all` is never used
   --> /usr/share/cargo/registry/rand-0.8.5/src/distributions/utils.rs:268:8
    |
266 | pub(crate) trait BoolAsSIMD: Sized {
    |                  ---------- method in this trait
267 |     fn any(self) -> bool;
268 |     fn all(self) -> bool;
    |        ^^^

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /usr/share/cargo/registry/rand-0.8.5/src/seq/mod.rs:115:27
    |
115 |     fn choose_multiple<R>(&self, rng: &mut R, amount: usize) -> 
SliceChooseIter<Self, Self::Item>
    |                           ^^^^^ the lifetime is elided here     
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the 
signature confusing
    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
    |
115 |     fn choose_multiple<R>(&self, rng: &mut R, amount: usize) -> 
SliceChooseIter<'_, Self, Self::Item>
    |                                                                           
      +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /usr/share/cargo/registry/rand-0.8.5/src/seq/mod.rs:221:9
    |
221 |         &self, rng: &mut R, amount: usize, weight: F,
    |         ^^^^^ the lifetime is elided here
222 |     ) -> Result<SliceChooseIter<Self, Self::Item>, WeightedError>
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is 
hidden here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the 
signature confusing
help: use `'_` for type paths
    |
222 |     ) -> Result<SliceChooseIter<'_, Self, Self::Item>, WeightedError>
    |                                 +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /usr/share/cargo/registry/rand-0.8.5/src/seq/mod.rs:515:27
    |
515 |     fn choose_multiple<R>(&self, rng: &mut R, amount: usize) -> 
SliceChooseIter<Self, Self::Item>
    |                           ^^^^^ the lifetime is elided here     
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the 
signature confusing
help: use `'_` for type paths
    |
515 |     fn choose_multiple<R>(&self, rng: &mut R, amount: usize) -> 
SliceChooseIter<'_, Self, Self::Item>
    |                                                                           
      +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /usr/share/cargo/registry/rand-0.8.5/src/seq/mod.rs:565:9
    |
565 |         &self, rng: &mut R, amount: usize, weight: F,
    |         ^^^^^ the lifetime is elided here
566 |     ) -> Result<SliceChooseIter<Self, Self::Item>, WeightedError>
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is 
hidden here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the 
signature confusing
help: use `'_` for type paths
    |
566 |     ) -> Result<SliceChooseIter<'_, Self, Self::Item>, WeightedError>
    |                                 +++

warning: `rand` (lib) generated 73 warnings
   Compiling gettext-rs v0.7.7
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gettextr 
[too-long-redacted] stry=/usr/share/cargo/registry`
warning: use of deprecated method 
`auto::message_dialog::MessageDialogExt::has_response`: Since 1.6
  --> /usr/share/cargo/registry/libadwaita-0.8.1/src/message_dialog.rs:23:31
   |
23 |         assert!(self.as_ref().has_response(response));
   |                               ^^^^^^^^^^^^

warning: use of deprecated method 
`auto::message_dialog::MessageDialogExt::add_response`: Since 1.6
  --> /usr/share/cargo/registry/libadwaita-0.8.1/src/message_dialog.rs:36:18
   |
36 |             self.add_response(id, label);
   |                  ^^^^^^^^^^^^

   Compiling ashpd v0.12.0
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=ashpd CA 
[too-long-redacted] stry=/usr/share/cargo/registry`
warning: `libadwaita` (lib) generated 32 warnings
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=pfs CARG 
[too-long-redacted] stry=/usr/share/cargo/registry`
error[E0308]: mismatched types
   --> subprojects/pfs/src/file_selector.rs:638:13
    |
637 |         dialog.choose(
    |                ------ arguments to this method are incorrect
638 |             self.upcast_ref::<gtk::Widget>(),
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<&_>`, found 
`&Widget`
    |
    = note:   expected enum `std::option::Option<&_>`
            found reference `&gtk4::Widget`
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`
    |
638 |             Some(self.upcast_ref::<gtk::Widget>()),
    |             +++++                                +

For more information about this error, try `rustc --explain E0308`.
error: could not compile `PhoshFileSelector` (lib) due to 1 previous error

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...
[34/37] cc  -o src/thumbnailer/ptcli 
src/thumbnailer/ptcli.p/meson-generated_.._phosh-thumbnailer-service.c.o 
src/thumbnailer/ptcli.p/cli.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro 
-Wl,-z,now -fcf-protection -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group 
/usr/lib/x86_64-linux-gnu/libgio-2.0.so 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so -Wl,--end-group
FAILED: [code=101] src/xdg-desktop-portal-phrosh 
env RESOURCES_DIR=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src 
/usr/share/cargo/bin/cargo build --manifest-path /<<PKGBUILDDIR>>/Cargo.toml 
--target-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && cp 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/debug/xdg-desktop-portal-phosh
 src/xdg-desktop-portal-phrosh
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:22: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to