public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Janne Grunau <j@jannau.net>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [asahilinux:asahi-wip-6.8 1789/2549] error[E0658]: use of unstable library feature 'offset_of'
Date: Tue, 30 Apr 2024 01:53:24 +0800	[thread overview]
Message-ID: <202404300119.uJjiyP11-lkp@intel.com> (raw)

tree:   https://github.com/AsahiLinux/linux asahi-wip-6.8
head:   72909db13b2e258b69eae8e33b5af02376829f82
commit: 25b2644bec0d50b333482f1db86a4f5618eea576 [1789/2549] rust: kernel: Rust 1.77 avoid offset_of stable warnings
config: x86_64-buildonly-randconfig-003-20240429 (https://download.01.org/0day-ci/archive/20240430/202404300119.uJjiyP11-lkp@intel.com/config)
compiler: clang version 18.1.4 (https://github.com/llvm/llvm-project e6c3289804a67ea0bb6a86fadbe454dd93b8d855)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240430/202404300119.uJjiyP11-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/202404300119.uJjiyP11-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0658]: use of unstable library feature 'offset_of'
   --> rust/doctests_kernel_generated.rs:4996:1
   |
   4996 | / impl_has_work! {
   4997 | |     impl HasWork<Self> for MyStruct { self.work }
   4998 | | }
   | |_^
   |
   = note: see issue #106655 <https://github.com/rust-lang/rust/issues/106655> for more information
   = help: add `#![feature(offset_of)]` to the crate attributes to enable
   = note: this error originates in the macro `impl_has_work` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0658]: use of unstable library feature 'offset_of'
   --> rust/doctests_kernel_generated.rs:5077:1
   |
   5077 | / impl_has_work! {
   5078 | |     impl HasWork<MyWorkItem, 1> for MyWorkItem { self.work_field }
   5079 | | }
   | |_^
   |
   = note: see issue #106655 <https://github.com/rust-lang/rust/issues/106655> for more information
   = help: add `#![feature(offset_of)]` to the crate attributes to enable
   = note: this error originates in the macro `impl_has_work` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0658]: use of unstable library feature 'offset_of'
   --> rust/doctests_kernel_generated.rs:5135:1
   |
   5135 | / impl_has_work! {
   5136 | |     impl HasWork<MyStruct, 17> for MyStruct { self.work_field }
   5137 | | }
   | |_^
   |
   = note: see issue #106655 <https://github.com/rust-lang/rust/issues/106655> for more information
   = help: add `#![feature(offset_of)]` to the crate attributes to enable
   = note: this error originates in the macro `impl_has_work` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0658]: use of unstable library feature 'offset_of'
   --> rust/doctests_kernel_generated.rs:5200:1
   |
   5200 | / impl_has_work! {
   5201 | |     impl HasWork<Self, 1> for MyStruct { self.work_1 }
   5202 | |     impl HasWork<Self, 2> for MyStruct { self.work_2 }
   5203 | | }
   | |_^
   |
   = note: see issue #106655 <https://github.com/rust-lang/rust/issues/106655> for more information
   = help: add `#![feature(offset_of)]` to the crate attributes to enable
   = note: this error originates in the macro `impl_has_work` (in Nightly builds, run with -Z macro-backtrace for more info)

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

                 reply	other threads:[~2024-04-29 17:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202404300119.uJjiyP11-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=j@jannau.net \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox