[Pkg-rust-maintainers] Bug#1154352: rust-az: FTBFS: error: a method with this name may be added to the standard library in the future
Santiago Vila
sanvila at debian.org
Wed Nov 18 18:01:04 GMT 2026
Package: src:rust-az
Version: 1.3.0-2
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/202611/
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-az, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
error: aborting due to 1 previous error
Couldn't compile the test.
---- src/lib.rs - WrappingAs (line 987) stdout ----
error: a method with this name may be added to the standard library in the future
--> src/lib.rs:993:44
|
993 | fn wrapping_cast(self) -> u32 { self.0.wrapping_cast() }
| ^^^^^^^^^^^^^
|
= help: call with fully qualified syntax `az::WrappingCast::wrapping_cast(...)` to keep using the current method
= warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
= note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
note: the lint level is defined here
--> src/lib.rs:986:9
|
986 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(unstable_name_collisions)]` implied by `#[deny(warnings)]`
error: aborting due to 1 previous error
Couldn't compile the test.
failures:
src/lib.rs - CheckedAs (line 756)
src/lib.rs - CheckedCast (line 189)
src/lib.rs - SaturatingAs (line 912)
src/lib.rs - StrictAs (line 837)
src/lib.rs - StrictCast (line 217)
src/lib.rs - StrictCast (line 226)
src/lib.rs - WrappingAs (line 987)
test result: FAILED. 40 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.40s
all doctests ran in 3.50s; merged doctests compilation took 0.10s
error: doctest failed, to rerun pass `--doc`
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 failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-rust-maintainers
mailing list