Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Asahi Lina <lina@asahilina.net>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Janne Grunau <j@jannau.net>
Subject: [asahilinux:bits/250-aop 38/79] error[E0425]: cannot find type `Registration` in module `soc`
Date: Wed, 02 Sep 2026 12:25:06 +0800	[thread overview]
Message-ID: <202609021217.1vnDmN5r-lkp@intel.com> (raw)

tree:   https://github.com/AsahiLinux/linux bits/250-aop
head:   e793b14f66e33b70363166d84886d82d462f1987
commit: 12df0d4caf19584f993989efdfd00fc7d8f9b1cf [38/79] rust: soc: apple: rtkit: Add Apple RTKit abstraction
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260902/202609021217.1vnDmN5r-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260902/202609021217.1vnDmN5r-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/202609021217.1vnDmN5r-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0425]: cannot find type `Registration` in module `soc`
   --> samples/rust/rust_soc.rs:21:20
   |
   21 |     _dev_reg: soc::Registration,
   |                    ^^^^^^^^^^^^ not found in `soc`
   |
   help: consider importing one of these structs
   |
   5 + use crate::soc::bus::Registration;
   |
   5 + use kernel::auxiliary::Registration;
   |
   5 + use kernel::cpufreq::Registration;
   |
   5 + use kernel::driver::Registration;
   |
   = and 5 other candidates
   help: if you import `Registration`, refer to it directly
   |
   21 -     _dev_reg: soc::Registration,
   21 +     _dev_reg: Registration,
   |
--
>> error[E0422]: cannot find struct, variant or union type `Attributes` in module `soc`
   --> samples/rust/rust_soc.rs:58:29
   |
   58 |             let attr = soc::Attributes {
   |                             ^^^^^^^^^^ not found in `soc`
   |
   help: consider importing one of these structs
   |
   5 + use crate::soc::bus::Attributes;
   |
   5 + use kernel::soc::bus::Attributes;
   |
   help: if you import `Attributes`, refer to it directly
   |
   58 -             let attr = soc::Attributes {
   58 +             let attr = Attributes {
   |
--
>> error[E0433]: cannot find `Registration` in `soc`
   --> samples/rust/rust_soc.rs:68:34
   |
   68 |                 _dev_reg <- soc::Registration::new(attr),
   |                                  ^^^^^^^^^^^^ could not find `Registration` in `soc`
   |
   help: consider importing one of these structs
   |
   5 + use crate::soc::bus::Registration;
   |
   5 + use kernel::auxiliary::Registration;
   |
   5 + use kernel::cpufreq::Registration;
   |
   5 + use kernel::driver::Registration;
   |
   = and 5 other candidates
   help: if you import `Registration`, refer to it directly
   |
   68 -                 _dev_reg <- soc::Registration::new(attr),
   68 +                 _dev_reg <- Registration::new(attr),
   |

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

                 reply	other threads:[~2026-09-02  4:26 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=202609021217.1vnDmN5r-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=j@jannau.net \
    --cc=lina@asahilina.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