Messages in this thread | | | Date | Fri, 29 Jul 2022 09:34:32 +0800 | Subject | [linux-next:master 13092/13104] error[E0609]: no field `group_leader` on type `bindings_raw::task_struct` | From | kernel test robot <> |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 9250d2f72dc46a808b6aa23bf50dd670f1f52ddc commit: 475dd867241716f1b6ab12cc188c221bfadacc40 [13092/13104] Merge branch 'rust-next' of https://github.com/Rust-for-Linux/linux.git config: arm64-randconfig-r033-20220728 (attached as .config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8dfaecc4c24494337933aff9d9166486ca0949f1) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=475dd867241716f1b6ab12cc188c221bfadacc40 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 475dd867241716f1b6ab12cc188c221bfadacc40 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 prepare
If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <yujie.liu@intel.com>
All errors (new ones prefixed by >>):
>> error[E0609]: no field `ki_pos` on type `bindings_raw::kiocb` --> rust/kernel/file.rs:275:43 | 275 | let offset = unsafe { (*iocb).ki_pos }; | ^^^^^^ unknown field | = note: available fields are: `ki_filp`, `__bindgen_anon_1` help: one of the expressions' fields has a field of the same name | 275 | let offset = unsafe { (*iocb).__bindgen_anon_1.ki_pos }; | +++++++++++++++++ -- >> error[E0609]: no field `ki_pos` on type `bindings_raw::kiocb` --> rust/kernel/file.rs:284:30 | 284 | unsafe { (*iocb).ki_pos += bindings::loff_t::try_from(read).unwrap() }; | ^^^^^^ unknown field | = note: available fields are: `ki_filp`, `__bindgen_anon_1` help: one of the expressions' fields has a field of the same name | 284 | unsafe { (*iocb).__bindgen_anon_1.ki_pos += bindings::loff_t::try_from(read).unwrap() }; | +++++++++++++++++ -- >> error[E0609]: no field `ki_pos` on type `bindings_raw::kiocb` --> rust/kernel/file.rs:323:43 | 323 | let offset = unsafe { (*iocb).ki_pos }; | ^^^^^^ unknown field | = note: available fields are: `ki_filp`, `__bindgen_anon_1` help: one of the expressions' fields has a field of the same name | 323 | let offset = unsafe { (*iocb).__bindgen_anon_1.ki_pos }; | +++++++++++++++++ -- >> error[E0609]: no field `ki_pos` on type `bindings_raw::kiocb` --> rust/kernel/file.rs:332:30 | 332 | unsafe { (*iocb).ki_pos += bindings::loff_t::try_from(written).unwrap() }; | ^^^^^^ unknown field | = note: available fields are: `ki_filp`, `__bindgen_anon_1` help: one of the expressions' fields has a field of the same name | 332 | unsafe { (*iocb).__bindgen_anon_1.ki_pos += bindings::loff_t::try_from(written).unwrap() }; | +++++++++++++++++ -- >> error[E0063]: missing field `uring_cmd` in initializer of `bindings_raw::file_operations` --> rust/kernel/file.rs:468:47 | 468 | const VTABLE: bindings::file_operations = bindings::file_operations { | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `uring_cmd` -- >> error[E0609]: no field `group_leader` on type `bindings_raw::task_struct` --> rust/kernel/task.rs:85:40 | 85 | let ptr = unsafe { (*self.ptr).group_leader }; | ^^^^^^^^^^^^ unknown field | = note: available fields are: `thread_info`, `__state`, `__bindgen_padding_0`, `__bindgen_anon_1`, `thread` -- >> error[E0609]: no field `pid` on type `bindings_raw::task_struct` --> rust/kernel/task.rs:96:30 | 96 | unsafe { (*self.ptr).pid } | ^^^ unknown field | = note: available fields are: `thread_info`, `__state`, `__bindgen_padding_0`, `__bindgen_anon_1`, `thread`
-- 0-DAY CI Kernel Test Service https://01.org/lkp[unhandled content-type:application/gzip] | |