Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [thomas-weissschuh:b4/rust-dyndbg 11/15] error: `core::num::<impl u32>::bit_width` is not yet stable as a const fn
@ 2026-10-01  6:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-01  6:06 UTC (permalink / raw)
  To: Thomas Weißschuh ; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/rust-dyndbg
head:   8d3e0685c6f97f4b02dcb87274268a7ff4d7bd47
commit: 27766faadd51e77948e26881062ae8e4bc2c0f80 [11/15] rust: add support for dynamic debug
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20261001/202610010836.aVOF8yYD-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261001/202610010836.aVOF8yYD-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610010836.aVOF8yYD-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0658]: use of unstable library feature `uint_bit_width`
   --> rust/kernel/dynamic_debug.rs:26:14
   |
   26 |         if c.bit_width() > 8 {
   |              ^^^^^^^^^
   |
   = note: see issue #142326 <https://github.com/rust-lang/rust/issues/142326> for more information
   = help: add `#![feature(uint_bit_width)]` to the crate attributes to enable
   = note: this compiler was built on 2026-05-25; consider upgrading it if it is out of date
--
>> error: `core::num::<impl u32>::bit_width` is not yet stable as a const fn
   --> rust/kernel/dynamic_debug.rs:26:12
   |
   26 |         if c.bit_width() > 8 {
   |            ^^^^^^^^^^^^^
   |
   help: add `#![feature(uint_bit_width)]` to the crate attributes to enable
   --> rust/kernel/lib.rs:38:1
   |
   38 + #![feature(uint_bit_width)]
   |
--
>> error[E0658]: use of unstable library feature `uint_bit_width`
   --> rust/kernel/dynamic_debug.rs:45:19
   |
   45 |         if lineno.bit_width() > 18 || class_id.bit_width() > 6 {
   |                   ^^^^^^^^^
   |
   = note: see issue #142326 <https://github.com/rust-lang/rust/issues/142326> for more information
   = help: add `#![feature(uint_bit_width)]` to the crate attributes to enable
   = note: this compiler was built on 2026-05-25; consider upgrading it if it is out of date
--
>> error[E0658]: use of unstable library feature `uint_bit_width`
   --> rust/kernel/dynamic_debug.rs:45:48
   |
   45 |         if lineno.bit_width() > 18 || class_id.bit_width() > 6 {
   |                                                ^^^^^^^^^
   |
   = note: see issue #142326 <https://github.com/rust-lang/rust/issues/142326> for more information
   = help: add `#![feature(uint_bit_width)]` to the crate attributes to enable
   = note: this compiler was built on 2026-05-25; consider upgrading it if it is out of date
--
>> error: `core::num::<impl u32>::bit_width` is not yet stable as a const fn
   --> rust/kernel/dynamic_debug.rs:45:12
   |
   45 |         if lineno.bit_width() > 18 || class_id.bit_width() > 6 {
   |            ^^^^^^^^^^^^^^^^^^
   |
   help: add `#![feature(uint_bit_width)]` to the crate attributes to enable
   --> rust/kernel/lib.rs:38:1
   |
   38 + #![feature(uint_bit_width)]
   |
--
>> error: `core::num::<impl u32>::bit_width` is not yet stable as a const fn
   --> rust/kernel/dynamic_debug.rs:45:39
   |
   45 |         if lineno.bit_width() > 18 || class_id.bit_width() > 6 {
   |                                       ^^^^^^^^^^^^^^^^^^^^
   |
   help: add `#![feature(uint_bit_width)]` to the crate attributes to enable
   --> rust/kernel/lib.rs:38:1
   |
   38 + #![feature(uint_bit_width)]
   |

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-01  6:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-01  6:06 [thomas-weissschuh:b4/rust-dyndbg 11/15] error: `core::num::<impl u32>::bit_width` is not yet stable as a const fn kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox