Article View: linux.debian.bugs.dist
Article #4968Bug#1154352: rust-az: FTBFS: error: a method with this name may be added to the standard library in the future
From: Santiago Vila
Date: Wed, 18 Nov 2026 18:10
Date: Wed, 18 Nov 2026 18:10
74 lines
4325 bytes
4325 bytes
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
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<O0Sgx-cJsU-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1154352: rust-az: FTBFS: error: a method with this name may be added to the standard library in the future Date: Wed, 18 Nov 2026 19:10:01 +0100 Message-ID: <O0Sgx-cJsU-1@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Nov 18 18:02:45 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Santiago Vila <sanvila@debian.org>, 1154352@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, pkg-rust-maintainers@alioth-lists.debian.net X-Debian-Pr-Message: report 1154352 X-Debian-Pr-Package: src:rust-az X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: rust-az X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003359 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 74 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 18 Nov 2026 18:01:04 +0000 X-Original-Message-ID: <E1xTjxw-001yfj-1A@paradis.debian.org>