Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [linux-next:master 6484/9729] error[E0432]: unresolved import `crate::clk`
@ 2025-05-08 22:47 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-08 22:47 UTC (permalink / raw)
  To: Viresh Kumar; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   f48887a98b78880b7711aca311fbbbcaad6c4e3b
commit: 4eb3c0cfd2b267d208286ba435f90535fdb08b9f [6484/9729] rust: opp: Add initial abstractions for OPP framework
config: x86_64-buildonly-randconfig-003-20250509 (https://download.01.org/0day-ci/archive/20250509/202505090616.2BrTjCYF-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250509/202505090616.2BrTjCYF-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/202505090616.2BrTjCYF-lkp@intel.com/

All errors (new ones prefixed by >>):

   ***
   *** Rust bindings generator 'bindgen' < 0.69.5 together with libclang >= 19.1
   *** may not work due to a bug (https://github.com/rust-lang/rust-bindgen/pull/2824),
   *** unless patched (like Debian's).
   ***   Your bindgen version:  0.65.1
   ***   Your libclang version: 20.1.2
   ***
   ***
   *** Please see Documentation/rust/quick-start.rst for details
   *** on how to set up the Rust support.
   ***
>> error[E0432]: unresolved import `crate::clk`
   --> rust/kernel/opp.rs:12:5
   |
   12 |     clk::Hertz,
   |     ^^^ could not find `clk` in the crate root

-- 
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:[~2025-05-08 22:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-08 22:47 [linux-next:master 6484/9729] error[E0432]: unresolved import `crate::clk` 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