Re: [PATCH v3 1/3] rust: add UnsafePinned type
From: kernel test robot
Date: Sun May 11 2025 - 08:17:12 EST
Hi Christian,
kernel test robot noticed the following build errors:
[auto build test ERROR on 9de1a293c8ece00d226b21a35751ec178be2a9fa]
url: https://github.com/intel-lab-lkp/linux/commits/Christian-Schrefl/rust-add-UnsafePinned-type/20250510-173533
base: 9de1a293c8ece00d226b21a35751ec178be2a9fa
patch link: https://lore.kernel.org/r/20250510-rust_unsafe_pinned-v3-1-57ce151123f9%40gmail.com
patch subject: [PATCH v3 1/3] rust: add UnsafePinned type
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250511/202505112005.CDR6Xi0o-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250511/202505112005.CDR6Xi0o-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/202505112005.CDR6Xi0o-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> error[E0599]: no method named `get_mut_unchecked` found for struct `UnsafePinned` in the current scope
--> rust/doctests_kernel_generated.rs:7770:7
|
7770 | x.get_mut_unchecked().write(1);
| ^^^^^^^^^^^^^^^^^ method not found in `UnsafePinned<{integer}>`
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki