Package: src:rust-criterion
Version: 0.5.1-10
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/202511/

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=rust
        /usr/share/dh-rust/bin/cargo clean
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=2'] [] 
['-j2'] 0
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, 
x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', 
'/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True}
     Removed 0 files
   dh_clean -XCargo.toml.orig
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=rust
        /usr/share/dh-rust/bin/cargo prepare-debian debian/cargo_registry

[... snipped ...]


warning: hiding a lifetime that's elided elsewhere is confusing
   --> 
/<<PKGBUILDDIR>>/debian/cargo_registry/ciborium-ll-0.2.2/src/dec.rs:167:17
    |
167 |     pub fn text(&mut self, len: Option<usize>) -> Segments<R, 
crate::seg::Text> {
    |                 ^^^^^^^^^                         
----------------------------- 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
    |
167 |     pub fn text(&mut self, len: Option<usize>) -> Segments<'_, R, 
crate::seg::Text> {
    |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> 
/<<PKGBUILDDIR>>/debian/cargo_registry/ciborium-ll-0.2.2/src/seg.rs:192:17
    |
192 |     pub fn pull(&mut self) -> Result<Option<Segment<R, P>>, 
Error<R::Error>> {
    |                 ^^^^^^^^^                   ------------- 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
    |
192 |     pub fn pull(&mut self) -> Result<Option<Segment<'_, R, P>>, 
Error<R::Error>> {
    |                                                     +++

   Compiling rand_chacha v0.3.1
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=rand_chacha 
CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/rand_chacha-0.3.1 
CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/rand_chacha-0.3.1/Cargo.toml
 CARGO_PKG_AUTHORS='The Rand Project Developers:The Rust Project Developers:The 
CryptoCorrosion Contributors' CARGO_PKG_DESCRIPTION='ChaCha random number 
generator
' CARGO_PKG_HOMEPAGE='https://rust-random.github.io/book' CA 
[too-long-redacted] /registry/criterion-plot-0.5.0`
warning: `ciborium-ll` (lib) generated 3 warnings
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=rayon_co 
[too-long-redacted] /registry/criterion-plot-0.5.0`
warning: unexpected `cfg` condition value: `web_spin_lock`
  --> /<<PKGBUILDDIR>>/debian/cargo_registry/rayon-core-1.13.0/src/lib.rs:99:11
   |
99 | #[cfg(not(feature = "web_spin_lock"))]
   |           ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
   |
   = note: no expected values for `feature`
   = help: consider adding `web_spin_lock` 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
   = note: `#[warn(unexpected_cfgs)]` on by default

warning: unexpected `cfg` condition value: `web_spin_lock`
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/rayon-core-1.13.0/src/lib.rs:102:7
    |
102 | #[cfg(feature = "web_spin_lock")]
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
    |
    = note: no expected values for `feature`
    = help: consider adding `web_spin_lock` 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

   Compiling itertools v0.13.0
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=itertool 
[too-long-redacted] /registry/criterion-plot-0.5.0`
warning: `rayon-core` (lib) generated 2 warnings
   Compiling linux-raw-sys v0.11.0
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=linux_ra 
[too-long-redacted] /registry/criterion-plot-0.5.0`
warning: hiding a lifetime that's elided elsewhere is confusing
    --> 
/<<PKGBUILDDIR>>/debian/cargo_registry/itertools-0.13.0/src/lib.rs:1491:30
     |
1491 |     fn peeking_take_while<F>(&mut self, accept: F) -> 
PeekingTakeWhile<Self, F>
     |                              ^^^^^^^^^                
------------------------- 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: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
     |
1491 |     fn peeking_take_while<F>(&mut self, accept: F) -> 
PeekingTakeWhile<'_, Self, F>
     |                                                                        
+++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> 
/<<PKGBUILDDIR>>/debian/cargo_registry/itertools-0.13.0/src/lib.rs:1517:26
     |
1517 |     fn take_while_ref<F>(&mut self, accept: F) -> TakeWhileRef<Self, F>
     |                          ^^^^^^^^^                --------------------- 
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
     |
1517 |     fn take_while_ref<F>(&mut self, accept: F) -> TakeWhileRef<'_, Self, 
F>
     |                                                                +++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> 
/<<PKGBUILDDIR>>/debian/cargo_registry/itertools-0.13.0/src/lib.rs:2331:26
     |
2331 |     fn format(self, sep: &str) -> Format<Self>
     |                          ^^^^     ------------ 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
     |
2331 |     fn format(self, sep: &str) -> Format<'_, Self>
     |                                          +++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> 
/<<PKGBUILDDIR>>/debian/cargo_registry/itertools-0.13.0/src/lib.rs:2370:34
     |
2370 |     fn format_with<F>(self, sep: &str, format: F) -> FormatWith<Self, F>
     |                                  ^^^^                ------------------- 
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
     |
2370 |     fn format_with<F>(self, sep: &str, format: F) -> FormatWith<'_, 
Self, F>
     |                                                                 +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> 
/<<PKGBUILDDIR>>/debian/cargo_registry/itertools-0.13.0/src/adaptors/mod.rs:526:35
    |
526 | pub fn take_while_ref<I, F>(iter: &mut I, f: F) -> TakeWhileRef<I, F>
    |                                   ^^^^^^           ------------------ 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
    |
526 | pub fn take_while_ref<I, F>(iter: &mut I, f: F) -> TakeWhileRef<'_, I, F>
    |                                                                 +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> 
/<<PKGBUILDDIR>>/debian/cargo_registry/itertools-0.13.0/src/peeking_take_while.rs:129:39
    |
129 | pub fn peeking_take_while<I, F>(iter: &mut I, f: F) -> 
PeekingTakeWhile<I, F>
    |                                       ^^^^^^           
---------------------- 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
    |
129 | pub fn peeking_take_while<I, F>(iter: &mut I, f: F) -> 
PeekingTakeWhile<'_, I, F>
    |                                                                         
+++

   Compiling cast v0.3.0
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=cast CAR 
[too-long-redacted] /registry/criterion-plot-0.5.0`
warning: lint `const_err` has been removed: converted into hard error, see 
issue #71800 <https://github.com/rust-lang/rust/issues/71800> for more 
information
  --> /<<PKGBUILDDIR>>/debian/cargo_registry/cast-0.3.0/src/lib.rs:91:10
   |
91 | #![allow(const_err)]
   |          ^^^^^^^^^
   |
   = note: `#[warn(renamed_and_removed_lints)]` on by default

warning: `cast` (lib) generated 1 warning
   Compiling same-file v1.0.6
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=same_file 
CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/same-file-1.0.6 
CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/same-file-1.0.6/Cargo.toml
 CARGO_PKG_AUTHORS='Andrew Gallant <[email protected]>' 
CARGO_PKG_DESCRIPTION='A simple crate for determining whether two file paths 
point to the same file.
' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/same-fil 
[too-long-redacted] /registry/criterion-plot-0.5.0`
warning: `itertools` (lib) generated 6 warnings
   Compiling once_cell v1.21.3
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=once_cel 
[too-long-redacted] /registry/criterion-plot-0.5.0`
warning: unused return value of `into_raw_fd` that must be used
  --> /<<PKGBUILDDIR>>/debian/cargo_registry/same-file-1.0.6/src/unix.rs:23:13
   |
23 |             self.file.take().unwrap().into_raw_fd();
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: losing the raw file descriptor may leak resources
   = note: `#[warn(unused_must_use)]` on by default
help: use `let _ = ...` to ignore the resulting value
   |
23 |             let _ = self.file.take().unwrap().into_raw_fd();
   |             +++++++

warning: `same-file` (lib) generated 1 warning
   Compiling bitflags v2.9.4
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=bitflags 
CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/bitflags-2.9.4 
CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/bitflags-2.9.4/Cargo.toml
 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='A macro 
to generate structures which behave like bitflags.
' CARGO_PKG_HOMEPAGE='https://github.com/bitflags/bitflags'  
[too-long-redacted] /registry/criterion-plot-0.5.0`
   Compiling walkdir v2.5.0
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=walkdir  
[too-long-redacted] /registry/criterion-plot-0.5.0`
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=rustix C 
[too-long-redacted]  linux_like --cfg linux_kernel`
warning: unexpected `cfg` condition value: `rustc-dep-of-std`
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-1.1.2/src/lib.rs:111:13
    |
111 | #![cfg_attr(feature = "rustc-dep-of-std", feature(ip))]
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `all-apis`, `alloc`, `default`, 
`event`, `fs`, `io_uring`, `libc`, `libc_errno`, `linux_4_11`, `linux_5_1`, 
`linux_5_11`, `linux_latest`, `mm`, `mount`, `net`, `param`, `pipe`, `process`, 
`pty`, `rand`, `runtime`, `shm`, `std`, `stdio`, `system`, `termios`, `thread`, 
`time`, `try_close`, `use-explicitly-provided-auxv`, `use-libc`, and 
`use-libc-auxv`
    = help: consider adding `rustc-dep-of-std` 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
    = note: requested on the command line with `-W unexpected-cfgs`

warning: unexpected `cfg` condition value: `rustc-dep-of-std`
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-1.1.2/src/lib.rs:112:13
    |
112 | #![cfg_attr(feature = "rustc-dep-of-std", allow(internal_features))]
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `all-apis`, `alloc`, `default`, 
`event`, `fs`, `io_uring`, `libc`, `libc_errno`, `linux_4_11`, `linux_5_1`, 
`linux_5_11`, `linux_latest`, `mm`, `mount`, `net`, `param`, `pipe`, `process`, 
`pty`, `rand`, `runtime`, `shm`, `std`, `stdio`, `system`, `termios`, `thread`, 
`time`, `try_close`, `use-explicitly-provided-auxv`, `use-libc`, and 
`use-libc-auxv`
    = help: consider adding `rustc-dep-of-std` 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: `rustc-dep-of-std`
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-1.1.2/src/lib.rs:114:9
    |
114 |     any(feature = "rustc-dep-of-std", core_intrinsics),
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `all-apis`, `alloc`, `default`, 
`event`, `fs`, `io_uring`, `libc`, `libc_errno`, `linux_4_11`, `linux_5_1`, 
`linux_5_11`, `linux_latest`, `mm`, `mount`, `net`, `param`, `pipe`, `process`, 
`pty`, `rand`, `runtime`, `shm`, `std`, `stdio`, `system`, `termios`, `thread`, 
`time`, `try_close`, `use-explicitly-provided-auxv`, `use-libc`, and 
`use-libc-auxv`
    = help: consider adding `rustc-dep-of-std` 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: `rustc-dep-of-std`
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-1.1.2/src/lib.rs:150:30
    |
150 | #[cfg(all(feature = "alloc", feature = "rustc-dep-of-std"))]
    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `all-apis`, `alloc`, `default`, 
`event`, `fs`, `io_uring`, `libc`, `libc_errno`, `linux_4_11`, `linux_5_1`, 
`linux_5_11`, `linux_latest`, `mm`, `mount`, `net`, `param`, `pipe`, `process`, 
`pty`, `rand`, `runtime`, `shm`, `std`, `stdio`, `system`, `termios`, `thread`, 
`time`, `try_close`, `use-explicitly-provided-auxv`, `use-libc`, and 
`use-libc-auxv`
    = help: consider adding `rustc-dep-of-std` 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: `rustc-dep-of-std`
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/rustix-1.1.2/src/lib.rs:153:34
    |
153 | #[cfg(all(feature = "alloc", not(feature = "rustc-dep-of-std")))]
    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `all-apis`, `alloc`, `default`, 
`event`, `fs`, `io_uring`, `libc`, `libc_errno`, `linux_4_11`, `linux_5_1`, 
`linux_5_11`, `linux_latest`, `mm`, `mount`, `net`, `param`, `pipe`, `process`, 
`pty`, `rand`, `runtime`, `shm`, `std`, `stdio`, `system`, `termios`, `thread`, 
`time`, `try_close`, `use-explicitly-provided-auxv`, `use-libc`, and 
`use-libc-auxv`
    = help: consider adding `rustc-dep-of-std` 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

   Compiling criterion-plot v0.5.0 (/<<PKGBUILDDIR>>/plot)
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=criterio 
[too-long-redacted] /registry/criterion-plot-0.5.0`
error: hiding a lifetime that's elided elsewhere is confusing
   --> plot/src/map.rs:66:21
    |
 66 |         pub fn iter(&self) -> Items<T> {
    |                     ^^^^^     -------- 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
   --> plot/src/lib.rs:365:9
    |
365 | #![deny(warnings)]
    |         ^^^^^^^^
    = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by 
`#[deny(warnings)]`
help: use `'_` for type paths
    |
 66 |         pub fn iter(&self) -> Items<'_, T> {
    |                                     +++

error: hiding a lifetime that's elided elsewhere is confusing
   --> plot/src/map.rs:146:21
    |
146 |         pub fn iter(&self) -> Items<T> {
    |                     ^^^^^     -------- 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
    |
146 |         pub fn iter(&self) -> Items<'_, T> {
    |                                     +++

error: could not compile `criterion-plot` (lib) due to 2 previous errors

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CA 
[too-long-redacted] on-plot-0.5.0` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
warning: `rustix` (lib) generated 5 warnings
dh_auto_test: error: /usr/share/dh-rust/bin/cargo test returned exit code 101
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to