error[E0560]: struct `blk_mq_tag_set` has no field named `timeout`

From: kernel test robot
Date: Mon Dec 01 2025 - 19:45:03 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7d0a66e4bb9081d75c82ec4957c50034cb0ea449
commit: ccb8ce526807fcbd4578d6619100d8ec48769ea8 ARM: 9441/1: rust: Enable Rust support for ARMv7
date: 8 months ago
config: arm-randconfig-r121-20251201 (https://download.01.org/0day-ci/archive/20251202/202512020837.06YOmYyY-lkp@xxxxxxxxx/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project b3428bb966f1de8aa48375ffee0eba04ede133b7)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251202/202512020837.06YOmYyY-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512020837.06YOmYyY-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> error[E0560]: struct `blk_mq_tag_set` has no field named `timeout`
--> rust/kernel/block/mq/tag_set.rs:51:21
|
51 | timeout: 0, // 0 means default which is 30Hz in C
| ^^^^^^^ `blk_mq_tag_set` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `blk_mq_tag_set` has no field named `numa_node`
--> rust/kernel/block/mq/tag_set.rs:52:21
|
52 | numa_node: bindings::NUMA_NO_NODE,
| ^^^^^^^^^ `blk_mq_tag_set` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `blk_mq_tag_set` has no field named `queue_depth`
--> rust/kernel/block/mq/tag_set.rs:53:21
|
53 | queue_depth: num_tags,
| ^^^^^^^^^^^ `blk_mq_tag_set` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `blk_mq_tag_set` has no field named `cmd_size`
--> rust/kernel/block/mq/tag_set.rs:54:21
|
54 | cmd_size,
| ^^^^^^^^ `blk_mq_tag_set` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `block_device_operations` has no field named `submit_bio`
--> rust/kernel/block/mq/gen_disk.rs:116:13
|
116 | submit_bio: None,
| ^^^^^^^^^^ `block_device_operations` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `block_device_operations` has no field named `open`
--> rust/kernel/block/mq/gen_disk.rs:117:13
|
117 | open: None,
| ^^^^ `block_device_operations` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `block_device_operations` has no field named `release`
--> rust/kernel/block/mq/gen_disk.rs:118:13
|
118 | release: None,
| ^^^^^^^ `block_device_operations` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `block_device_operations` has no field named `ioctl`
--> rust/kernel/block/mq/gen_disk.rs:119:13
|
119 | ioctl: None,
| ^^^^^ `block_device_operations` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `block_device_operations` has no field named `compat_ioctl`
--> rust/kernel/block/mq/gen_disk.rs:120:13
|
120 | compat_ioctl: None,
| ^^^^^^^^^^^^ `block_device_operations` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `block_device_operations` has no field named `check_events`
--> rust/kernel/block/mq/gen_disk.rs:121:13
|
121 | check_events: None,
| ^^^^^^^^^^^^ `block_device_operations` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `block_device_operations` has no field named `unlock_native_capacity`
--> rust/kernel/block/mq/gen_disk.rs:122:13
|
122 | unlock_native_capacity: None,
| ^^^^^^^^^^^^^^^^^^^^^^ `block_device_operations` does not have this field
|
= note: available fields are: `_address`
..

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