Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH v2 2/2] rust: switch uaccess to untrusted data API
       [not found] <20240925205244.873020-3-benno.lossin@proton.me>
@ 2024-09-26 23:56 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-26 23:56 UTC (permalink / raw)
  To: Benno Lossin, Miguel Ojeda, Alex Gaynor, Boqun Feng, Gary Guo,
	Björn Roy Baron, Andreas Hindborg, Alice Ryhl, Trevor Gross
  Cc: llvm, oe-kbuild-all, Greg KH, Simona Vetter, rust-for-linux,
	linux-kernel

Hi Benno,

kernel test robot noticed the following build errors:

[auto build test ERROR on a2f11547052001bd448ccec81dd1e68409078fbb]

url:    https://github.com/intel-lab-lkp/linux/commits/Benno-Lossin/rust-add-untrusted-data-abstraction/20240926-045445
base:   a2f11547052001bd448ccec81dd1e68409078fbb
patch link:    https://lore.kernel.org/r/20240925205244.873020-3-benno.lossin%40proton.me
patch subject: [PATCH v2 2/2] rust: switch uaccess to untrusted data API
config: x86_64-buildonly-randconfig-002-20240927 (https://download.01.org/0day-ci/archive/20240927/202409270711.g9QhxwTf-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240927/202409270711.g9QhxwTf-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/202409270711.g9QhxwTf-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0658]: use of unstable library feature 'slice_ptr_len'
   --> rust/kernel/uaccess.rs:214:27
   |
   214 |             let len = ptr.len();
   |                           ^^^
   |
   = note: see issue #71146 <https://github.com/rust-lang/rust/issues/71146> for more information
   = help: add `#![feature(slice_ptr_len)]` to the crate attributes to enable
   = note: this compiler was built on 2024-04-29; consider upgrading it if it is out of date
--
>> error[E0658]: use of unstable library feature 'slice_ptr_len'
   --> rust/kernel/uaccess.rs:339:28
   |
   339 |         let len = data_ptr.len();
   |                            ^^^
   |
   = note: see issue #71146 <https://github.com/rust-lang/rust/issues/71146> for more information
   = help: add `#![feature(slice_ptr_len)]` to the crate attributes to enable
   = note: this compiler was built on 2024-04-29; consider upgrading it if it is out of date

-- 
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:[~2024-09-26 23:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20240925205244.873020-3-benno.lossin@proton.me>
2024-09-26 23:56 ` [PATCH v2 2/2] rust: switch uaccess to untrusted data API 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