* [asahilinux:asahi 2767/2965] error[E0599]: no function or associated item named `new_with_class` found for struct `Lock` in the current scope
@ 2024-09-24 8:56 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-24 8:56 UTC (permalink / raw)
To: Asahi Lina; +Cc: llvm, oe-kbuild-all, Janne Grunau
tree: https://github.com/AsahiLinux/linux asahi
head: 3416d14cd345b3311b6020714a3bfad7f3dc8b58
commit: 8bf419c887bc5cf6785503b7436ef4328d94702e [2767/2965] rust: sync: Classless Lock::new() and pin_init()
config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20240924/202409241627.RpTCQos9-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/20240924/202409241627.RpTCQos9-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/202409241627.RpTCQos9-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0599]: no function or associated item named `new_with_class` found for struct `Lock` in the current scope
--> rust/doctests_kernel_generated.rs:3949:18
|
3949 | d <- new_spinlock!(Inner { a: 20, b: 30 }),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Lock<_, SpinLockBackend>`
|
= note: this error originates in the macro `new_spinlock` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is an associated function `new_with_key` with a similar name
--> rust/kernel/sync/lock/spinlock.rs:14:33
|
14 | $crate::sync::SpinLock::new_with_key(
| ~~~~~~~~~~~~
--
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-24 8:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-24 8:56 [asahilinux:asahi 2767/2965] error[E0599]: no function or associated item named `new_with_class` found for struct `Lock` in the current scope 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