[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202506251052.onsnGcvR-lkp@intel.com>
Date: Wed, 25 Jun 2025 10:39:29 +0800
From: kernel test robot <lkp@...el.com>
To: "Christian S. Lima" <christiansantoslima21@...il.com>,
Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>,
Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org, ~lkcamp/patches@...ts.sr.ht,
richard120310@...il.com
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev
Subject: Re: [PATCH v8] rust: transmute: Add methods for FromBytes trait
Hi Christian,
kernel test robot noticed the following build errors:
[auto build test ERROR on rust/rust-next]
[also build test ERROR on linus/master v6.16-rc3 next-20250624]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Christian-S-Lima/rust-transmute-Add-methods-for-FromBytes-trait/20250624-123012
base: https://github.com/Rust-for-Linux/linux rust-next
patch link: https://lore.kernel.org/r/20250624042802.105623-1-christiansantoslima21%40gmail.com
patch subject: [PATCH v8] rust: transmute: Add methods for FromBytes trait
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250625/202506251052.onsnGcvR-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250625/202506251052.onsnGcvR-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506251052.onsnGcvR-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0658]: use of unstable library feature 'pointer_is_aligned'
--> rust/kernel/transmute.rs:74:68
|
74 | if bytes.len() == ::core::mem::size_of::<T>() && slice_ptr.is_aligned() {
| ^^^^^^^^^^
|
= note: see issue #96284 <https://github.com/rust-lang/rust/issues/96284> for more information
= help: add `#![feature(pointer_is_aligned)]` 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 'pointer_is_aligned'
--> rust/kernel/transmute.rs:87:68
|
87 | if bytes.len() == ::core::mem::size_of::<T>() && slice_ptr.is_aligned() {
| ^^^^^^^^^^
|
= note: see issue #96284 <https://github.com/rust-lang/rust/issues/96284> for more information
= help: add `#![feature(pointer_is_aligned)]` 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 'pointer_is_aligned'
--> rust/kernel/transmute.rs:101:72
|
101 | if bytes.len() % ::core::mem::size_of::<T>() == 0 && slice_ptr.is_aligned() {
| ^^^^^^^^^^
|
= note: see issue #96284 <https://github.com/rust-lang/rust/issues/96284> for more information
= help: add `#![feature(pointer_is_aligned)]` 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 'pointer_is_aligned'
--> rust/kernel/transmute.rs:114:72
|
114 | if bytes.len() % ::core::mem::size_of::<T>() == 0 && slice_ptr.is_aligned() {
| ^^^^^^^^^^
|
= note: see issue #96284 <https://github.com/rust-lang/rust/issues/96284> for more information
= help: add `#![feature(pointer_is_aligned)]` 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
Powered by blists - more mailing lists