[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202511211258.1InbEyUs-lkp@intel.com>
Date: Fri, 21 Nov 2025 12:14:27 +0800
From: kernel test robot <lkp@...el.com>
To: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, Daniel Gomez <da.gomez@...sung.com>
Subject: error[E0560]: struct `kunit_suite` has no field named `name`
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fd95357fd8c6778ac7dea6c57a19b8b182b6e91f
commit: 818783c804bc051f7faf0ac226b5597f8259c6f8 module: make structure definitions always visible
date: 4 months ago
config: um-randconfig-001-20251121 (https://download.01.org/0day-ci/archive/20251121/202511211258.1InbEyUs-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9e9fe08b16ea2c4d9867fb4974edf2a3776d6ece)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251121/202511211258.1InbEyUs-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/202511211258.1InbEyUs-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0560]: struct `kunit_suite` has no field named `name`
--> rust/kernel/kunit.rs:282:21
|
282 | name: KUNIT_TEST_SUITE_NAME,
| ^^^^ `kunit_suite` does not have this field
|
::: rust/kernel/alloc/kvec.rs:1244:1
|
1244 | #[macros::kunit_tests(rust_kvec_kunit)]
| --------------------------------------- in this procedural macro expansion
|
= note: all struct fields are already assigned
= note: this error originates in the macro `::kernel::kunit_unsafe_test_suite` which comes from the expansion of the attribute macro `macros::kunit_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `kunit_suite` has no field named `test_cases`
--> rust/kernel/kunit.rs:287:21
|
287 | test_cases: unsafe {
| ^^^^^^^^^^ `kunit_suite` does not have this field
|
::: rust/kernel/alloc/kvec.rs:1244:1
|
1244 | #[macros::kunit_tests(rust_kvec_kunit)]
| --------------------------------------- in this procedural macro expansion
|
= note: all struct fields are already assigned
= note: this error originates in the macro `::kernel::kunit_unsafe_test_suite` which comes from the expansion of the attribute macro `macros::kunit_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `kunit_suite` has no field named `suite_init`
--> rust/kernel/kunit.rs:291:21
|
291 | suite_init: None,
| ^^^^^^^^^^ `kunit_suite` does not have this field
|
::: rust/kernel/alloc/kvec.rs:1244:1
|
1244 | #[macros::kunit_tests(rust_kvec_kunit)]
| --------------------------------------- in this procedural macro expansion
|
= note: all struct fields are already assigned
= note: this error originates in the macro `::kernel::kunit_unsafe_test_suite` which comes from the expansion of the attribute macro `macros::kunit_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `kunit_suite` has no field named `suite_exit`
--> rust/kernel/kunit.rs:292:21
|
292 | suite_exit: None,
| ^^^^^^^^^^ `kunit_suite` does not have this field
|
::: rust/kernel/alloc/kvec.rs:1244:1
|
1244 | #[macros::kunit_tests(rust_kvec_kunit)]
| --------------------------------------- in this procedural macro expansion
|
= note: all struct fields are already assigned
= note: this error originates in the macro `::kernel::kunit_unsafe_test_suite` which comes from the expansion of the attribute macro `macros::kunit_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `kunit_suite` has no field named `init`
--> rust/kernel/kunit.rs:293:21
|
293 | init: None,
| ^^^^ `kunit_suite` does not have this field
|
::: rust/kernel/alloc/kvec.rs:1244:1
|
1244 | #[macros::kunit_tests(rust_kvec_kunit)]
| --------------------------------------- in this procedural macro expansion
|
= note: all struct fields are already assigned
= note: this error originates in the macro `::kernel::kunit_unsafe_test_suite` which comes from the expansion of the attribute macro `macros::kunit_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `kunit_suite` has no field named `exit`
--> rust/kernel/kunit.rs:294:21
|
294 | exit: None,
| ^^^^ `kunit_suite` does not have this field
|
::: rust/kernel/alloc/kvec.rs:1244:1
|
1244 | #[macros::kunit_tests(rust_kvec_kunit)]
| --------------------------------------- in this procedural macro expansion
|
= note: all struct fields are already assigned
= note: this error originates in the macro `::kernel::kunit_unsafe_test_suite` which comes from the expansion of the attribute macro `macros::kunit_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `kunit_suite` has no field named `attr`
--> rust/kernel/kunit.rs:295:21
|
295 | attr: ::kernel::bindings::kunit_attributes {
| ^^^^ `kunit_suite` does not have this field
|
::: rust/kernel/alloc/kvec.rs:1244:1
|
1244 | #[macros::kunit_tests(rust_kvec_kunit)]
| --------------------------------------- in this procedural macro expansion
|
= note: all struct fields are already assigned
= note: this error originates in the macro `::kernel::kunit_unsafe_test_suite` which comes from the expansion of the attribute macro `macros::kunit_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `kunit_suite` has no field named `status_comment`
--> rust/kernel/kunit.rs:298:21
|
298 | status_comment: [0; 256usize],
| ^^^^^^^^^^^^^^ `kunit_suite` does not have this field
|
::: rust/kernel/alloc/kvec.rs:1244:1
|
1244 | #[macros::kunit_tests(rust_kvec_kunit)]
| --------------------------------------- in this procedural macro expansion
|
= note: all struct fields are already assigned
= note: this error originates in the macro `::kernel::kunit_unsafe_test_suite` which comes from the expansion of the attribute macro `macros::kunit_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `kunit_suite` has no field named `debugfs`
--> rust/kernel/kunit.rs:299:21
|
299 | debugfs: ::core::ptr::null_mut(),
| ^^^^^^^ `kunit_suite` does not have this field
|
::: rust/kernel/alloc/kvec.rs:1244:1
|
1244 | #[macros::kunit_tests(rust_kvec_kunit)]
| --------------------------------------- in this procedural macro expansion
|
= note: all struct fields are already assigned
= note: this error originates in the macro `::kernel::kunit_unsafe_test_suite` which comes from the expansion of the attribute macro `macros::kunit_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `kunit_suite` has no field named `log`
--> rust/kernel/kunit.rs:300:21
|
300 | log: ::core::ptr::null_mut(),
| ^^^ `kunit_suite` does not have this field
|
::: rust/kernel/alloc/kvec.rs:1244:1
|
1244 | #[macros::kunit_tests(rust_kvec_kunit)]
| --------------------------------------- in this procedural macro expansion
|
= note: all struct fields are already assigned
= note: this error originates in the macro `::kernel::kunit_unsafe_test_suite` which comes from the expansion of the attribute macro `macros::kunit_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0560]: struct `kunit_suite` has no field named `suite_init_err`
--> rust/kernel/kunit.rs:301:21
|
301 | suite_init_err: 0,
| ^^^^^^^^^^^^^^ `kunit_suite` does not have this field
|
::: rust/kernel/alloc/kvec.rs:1244:1
|
1244 | #[macros::kunit_tests(rust_kvec_kunit)]
| --------------------------------------- in this procedural macro expansion
|
= note: all struct fields are already assigned
= note: this error originates in the macro `::kernel::kunit_unsafe_test_suite` which comes from the expansion of the attribute macro `macros::kunit_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
..
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists