[Pkg-rust-maintainers] Bug#1120189: rust-ord-subset: FTBFS: error: could not compile `ord_subset` (lib) due to 12 previous errors; 3 warnings emitted

Santiago Vila sanvila at debian.org
Thu Nov 6 12:00:37 GMT 2025


Package: src:rust-ord-subset
Version: 3.1.1-1
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-ord-subset, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem cargo
   dh_auto_clean -O--buildsystem=cargo
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto = 
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = 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_autoreconf_clean -O--buildsystem=cargo
   dh_clean -O--buildsystem=cargo
 debian/rules binary
dh binary --buildsystem cargo
   dh_update_autotools_config -O--buildsystem=cargo
   dh_autoreconf -O--buildsystem=cargo
   dh_auto_configure -O--buildsystem=cargo
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto = 
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into /<<PKGBUILDDIR>>/debian/cargo_registry/
   dh_auto_build -O--buildsystem=cargo
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test -- test --all
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto = 
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j2', '--target', 'x86_64-unknown-linux-gnu', '--all'],) {}
warning: no edition set: defaulting to the 2015 edition while the latest is 2024
   Compiling ord_subset v3.1.1 (/<<PKGBUILDDIR>>)
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=ord_subs [too-long-redacted] stry=/usr/share/cargo/registry`
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=ord_subs [too-long-redacted] stry=/usr/share/cargo/registry`
warning: unexpected `cfg` condition value: `cargo-clippy`
 --> src/lib.rs:1:13
  |
1 | #![cfg_attr(feature = "cargo-clippy", allow(inline_always, match_bool))]
  |             ^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: expected values for `feature` are: `default`, `ops`, `std`, `unchecked_ops`, and `unstable`
  = help: consider adding `cargo-clippy` 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: `cargo-clippy`
  --> src/ord_subset_trait.rs:36:12
   |
36 | #[cfg_attr(feature = "cargo-clippy", allow(float_cmp, eq_op))]
   |            ^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: expected values for `feature` are: `default`, `ops`, `std`, `unchecked_ops`, and `unstable`
   = help: consider adding `cargo-clippy` 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: `cargo-clippy`
  --> src/ord_subset_trait.rs:45:12
   |
45 | #[cfg_attr(feature = "cargo-clippy", allow(float_cmp, eq_op))]
   |            ^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: expected values for `feature` are: `default`, `ops`, `std`, `unchecked_ops`, and `unstable`
   = help: consider adding `cargo-clippy` 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]: the size for values of type `A` cannot be known at compilation time
   --> src/ord_subset_trait.rs:113:51
    |
113 |               impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
    |                                                     ^^^^^^^^^ doesn't have a size known at compile-time
...
128 | / tuple_impls! {
129 | |     Tuple1 {
130 | |         (0) -> A
    | |                - this type parameter needs to be `Sized`
...   |
231 | | }
    | |_- in this macro invocation
    |
    = note: required for `(A,)` to implement `PartialEq`
note: required by a bound in `ord_subset_trait::OrdSubset`
   --> src/ord_subset_trait.rs:12:41
    |
 12 | pub trait OrdSubset: PartialOrd<Self> + PartialEq<Self> {
    |                                         ^^^^^^^^^^^^^^^ required by this bound in `OrdSubset`
    = note: this error originates in the macro `tuple_impls` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
    |
113 -             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
113 +             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+)  {
    |

error[E0277]: the size for values of type `B` cannot be known at compilation time
   --> src/ord_subset_trait.rs:113:51
    |
113 |               impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
    |                                                     ^^^^^^^^^ doesn't have a size known at compile-time
...
128 | / tuple_impls! {
129 | |     Tuple1 {
130 | |         (0) -> A
...   |
134 | |         (1) -> B
    | |                - this type parameter needs to be `Sized`
...   |
231 | | }
    | |_- in this macro invocation
    |
    = note: required for `(A, B)` to implement `PartialEq`
note: required by a bound in `ord_subset_trait::OrdSubset`
   --> src/ord_subset_trait.rs:12:41
    |
 12 | pub trait OrdSubset: PartialOrd<Self> + PartialEq<Self> {
    |                                         ^^^^^^^^^^^^^^^ required by this bound in `OrdSubset`
    = note: this error originates in the macro `tuple_impls` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
    |
113 -             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
113 +             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+)  {
    |

error[E0277]: the size for values of type `C` cannot be known at compilation time
   --> src/ord_subset_trait.rs:113:51
    |
113 |               impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
    |                                                     ^^^^^^^^^ doesn't have a size known at compile-time
...
128 | / tuple_impls! {
129 | |     Tuple1 {
130 | |         (0) -> A
...   |
139 | |         (2) -> C
    | |                - this type parameter needs to be `Sized`
...   |
231 | | }
    | |_- in this macro invocation
    |
    = note: required for `(A, B, C)` to implement `PartialEq`
note: required by a bound in `ord_subset_trait::OrdSubset`
   --> src/ord_subset_trait.rs:12:41
    |
 12 | pub trait OrdSubset: PartialOrd<Self> + PartialEq<Self> {
    |                                         ^^^^^^^^^^^^^^^ required by this bound in `OrdSubset`
    = note: this error originates in the macro `tuple_impls` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
    |
113 -             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
113 +             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+)  {
    |

error[E0277]: the size for values of type `D` cannot be known at compilation time
   --> src/ord_subset_trait.rs:113:51
    |
113 |               impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
    |                                                     ^^^^^^^^^ doesn't have a size known at compile-time
...
128 | / tuple_impls! {
129 | |     Tuple1 {
130 | |         (0) -> A
...   |
145 | |         (3) -> D
    | |                - this type parameter needs to be `Sized`
...   |
231 | | }
    | |_- in this macro invocation
    |
    = note: required for `(A, B, C, D)` to implement `PartialEq`
note: required by a bound in `ord_subset_trait::OrdSubset`
   --> src/ord_subset_trait.rs:12:41
    |
 12 | pub trait OrdSubset: PartialOrd<Self> + PartialEq<Self> {
    |                                         ^^^^^^^^^^^^^^^ required by this bound in `OrdSubset`
    = note: this error originates in the macro `tuple_impls` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
    |
113 -             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
113 +             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+)  {
    |

error[E0277]: the size for values of type `E` cannot be known at compilation time
   --> src/ord_subset_trait.rs:113:51
    |
113 |               impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
    |                                                     ^^^^^^^^^ doesn't have a size known at compile-time
...
128 | / tuple_impls! {
129 | |     Tuple1 {
130 | |         (0) -> A
...   |
152 | |         (4) -> E
    | |                - this type parameter needs to be `Sized`
...   |
231 | | }
    | |_- in this macro invocation
    |
    = note: required for `(A, B, C, D, E)` to implement `PartialEq`
note: required by a bound in `ord_subset_trait::OrdSubset`
   --> src/ord_subset_trait.rs:12:41
    |
 12 | pub trait OrdSubset: PartialOrd<Self> + PartialEq<Self> {
    |                                         ^^^^^^^^^^^^^^^ required by this bound in `OrdSubset`
    = note: this error originates in the macro `tuple_impls` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
    |
113 -             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
113 +             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+)  {
    |

error[E0277]: the size for values of type `F` cannot be known at compilation time
   --> src/ord_subset_trait.rs:113:51
    |
113 |               impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
    |                                                     ^^^^^^^^^ doesn't have a size known at compile-time
...
128 | / tuple_impls! {
129 | |     Tuple1 {
130 | |         (0) -> A
...   |
160 | |         (5) -> F
    | |                - this type parameter needs to be `Sized`
...   |
231 | | }
    | |_- in this macro invocation
    |
    = note: required for `(A, B, C, D, E, F)` to implement `PartialEq`
note: required by a bound in `ord_subset_trait::OrdSubset`
   --> src/ord_subset_trait.rs:12:41
    |
 12 | pub trait OrdSubset: PartialOrd<Self> + PartialEq<Self> {
    |                                         ^^^^^^^^^^^^^^^ required by this bound in `OrdSubset`
    = note: this error originates in the macro `tuple_impls` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
    |
113 -             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
113 +             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+)  {
    |

error[E0277]: the size for values of type `G` cannot be known at compilation time
   --> src/ord_subset_trait.rs:113:51
    |
113 |               impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
    |                                                     ^^^^^^^^^ doesn't have a size known at compile-time
...
128 | / tuple_impls! {
129 | |     Tuple1 {
130 | |         (0) -> A
...   |
169 | |         (6) -> G
    | |                - this type parameter needs to be `Sized`
...   |
231 | | }
    | |_- in this macro invocation
    |
    = note: required for `(A, B, C, D, E, F, G)` to implement `PartialEq`
note: required by a bound in `ord_subset_trait::OrdSubset`
   --> src/ord_subset_trait.rs:12:41
    |
 12 | pub trait OrdSubset: PartialOrd<Self> + PartialEq<Self> {
    |                                         ^^^^^^^^^^^^^^^ required by this bound in `OrdSubset`
    = note: this error originates in the macro `tuple_impls` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
    |
113 -             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
113 +             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+)  {
    |

error[E0277]: the size for values of type `H` cannot be known at compilation time
   --> src/ord_subset_trait.rs:113:51
    |
113 |               impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
    |                                                     ^^^^^^^^^ doesn't have a size known at compile-time
...
128 | / tuple_impls! {
129 | |     Tuple1 {
130 | |         (0) -> A
...   |
179 | |         (7) -> H
    | |                - this type parameter needs to be `Sized`
...   |
231 | | }
    | |_- in this macro invocation
    |
    = note: required for `(A, B, C, D, E, F, G, H)` to implement `PartialEq`
note: required by a bound in `ord_subset_trait::OrdSubset`
   --> src/ord_subset_trait.rs:12:41
    |
 12 | pub trait OrdSubset: PartialOrd<Self> + PartialEq<Self> {
    |                                         ^^^^^^^^^^^^^^^ required by this bound in `OrdSubset`
    = note: this error originates in the macro `tuple_impls` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
    |
113 -             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
113 +             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+)  {
    |

error[E0277]: the size for values of type `I` cannot be known at compilation time
   --> src/ord_subset_trait.rs:113:51
    |
113 |               impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
    |                                                     ^^^^^^^^^ doesn't have a size known at compile-time
...
128 | / tuple_impls! {
129 | |     Tuple1 {
130 | |         (0) -> A
...   |
190 | |         (8) -> I
    | |                - this type parameter needs to be `Sized`
...   |
231 | | }
    | |_- in this macro invocation
    |
    = note: required for `(A, B, C, D, E, F, G, H, I)` to implement `PartialEq`
note: required by a bound in `ord_subset_trait::OrdSubset`
   --> src/ord_subset_trait.rs:12:41
    |
 12 | pub trait OrdSubset: PartialOrd<Self> + PartialEq<Self> {
    |                                         ^^^^^^^^^^^^^^^ required by this bound in `OrdSubset`
    = note: this error originates in the macro `tuple_impls` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
    |
113 -             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
113 +             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+)  {
    |

error[E0277]: the size for values of type `J` cannot be known at compilation time
   --> src/ord_subset_trait.rs:113:51
    |
113 |               impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
    |                                                     ^^^^^^^^^ doesn't have a size known at compile-time
...
128 | / tuple_impls! {
129 | |     Tuple1 {
130 | |         (0) -> A
...   |
202 | |         (9) -> J
    | |                - this type parameter needs to be `Sized`
...   |
231 | | }
    | |_- in this macro invocation
    |
    = note: required for `(A, B, C, D, E, F, G, H, I, J)` to implement `PartialEq`
note: required by a bound in `ord_subset_trait::OrdSubset`
   --> src/ord_subset_trait.rs:12:41
    |
 12 | pub trait OrdSubset: PartialOrd<Self> + PartialEq<Self> {
    |                                         ^^^^^^^^^^^^^^^ required by this bound in `OrdSubset`
    = note: this error originates in the macro `tuple_impls` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
    |
113 -             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
113 +             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+)  {
    |

error[E0277]: the size for values of type `K` cannot be known at compilation time
   --> src/ord_subset_trait.rs:113:51
    |
113 |               impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
    |                                                     ^^^^^^^^^ doesn't have a size known at compile-time
...
128 | / tuple_impls! {
129 | |     Tuple1 {
130 | |         (0) -> A
...   |
215 | |         (10) -> K
    | |                 - this type parameter needs to be `Sized`
...   |
231 | | }
    | |_- in this macro invocation
    |
    = note: required for `(A, B, C, D, E, F, G, H, I, J, K)` to implement `PartialEq`
note: required by a bound in `ord_subset_trait::OrdSubset`
   --> src/ord_subset_trait.rs:12:41
    |
 12 | pub trait OrdSubset: PartialOrd<Self> + PartialEq<Self> {
    |                                         ^^^^^^^^^^^^^^^ required by this bound in `OrdSubset`
    = note: this error originates in the macro `tuple_impls` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
    |
113 -             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
113 +             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+)  {
    |

error[E0277]: the size for values of type `L` cannot be known at compilation time
   --> src/ord_subset_trait.rs:113:51
    |
113 |               impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
    |                                                     ^^^^^^^^^ doesn't have a size known at compile-time
...
128 | / tuple_impls! {
129 | |     Tuple1 {
130 | |         (0) -> A
...   |
229 | |         (11) -> L
    | |                 - this type parameter needs to be `Sized`
230 | |     }
231 | | }
    | |_- in this macro invocation
    |
    = note: required for `(A, B, C, D, E, F, G, H, I, J, K, L)` to implement `PartialEq`
note: required by a bound in `ord_subset_trait::OrdSubset`
   --> src/ord_subset_trait.rs:12:41
    |
 12 | pub trait OrdSubset: PartialOrd<Self> + PartialEq<Self> {
    |                                         ^^^^^^^^^^^^^^^ required by this bound in `OrdSubset`
    = note: this error originates in the macro `tuple_impls` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the `?Sized` bound to make the type parameter `Sized`
    |
113 -             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+) where last_type!($($T,)+): ?Sized {
113 +             impl<$($T:OrdSubset),+> OrdSubset for ($($T,)+)  {
    |

For more information about this error, try `rustc --explain E0277`.
warning: `ord_subset` (lib) generated 3 warnings (1 duplicate)
error: could not compile `ord_subset` (lib) due to 12 previous errors; 3 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: `ord_subset` (lib test) generated 3 warnings (2 duplicates)
error: could not compile `ord_subset` (lib test) due to 12 previous errors; 3 warnings emitted

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] argo/registry` (exit status: 1)
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
make[1]: *** [debian/rules:6: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-rust-maintainers mailing list