* [rust:pr/1130 1/2] error[E0432]: unresolved import `core::marker::CoercePointee`
@ 2024-11-22 19:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-11-22 19:27 UTC (permalink / raw)
To: Ding Xiang Fei; +Cc: llvm, oe-kbuild-all, Miguel Ojeda
tree: https://github.com/Rust-for-Linux/linux pr/1130
head: 36e9396cf5591aa42b19eacba22ee3f7e96bf792
commit: 54c00aa91853810a419c18207ce25034773b30ea [1/2] switch to CoercePointee macro, with examples
config: x86_64-randconfig-006-20241122 (https://download.01.org/0day-ci/archive/20241123/202411230332.WDjeYBE4-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241123/202411230332.WDjeYBE4-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/202411230332.WDjeYBE4-lkp@intel.com/
Note: the rust/pr/1130 HEAD 36e9396cf5591aa42b19eacba22ee3f7e96bf792 builds fine.
It only hurts bisectability.
All errors (new ones prefixed by >>):
In file included from arch/x86/kernel/asm-offsets.c:14:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:21:
In file included from include/linux/mm.h:2213:
include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
1 warning generated.
In file included from rust/helpers/helpers.c:10:
In file included from rust/helpers/blk.c:3:
In file included from include/linux/blk-mq.h:5:
In file included from include/linux/blkdev.h:9:
In file included from include/linux/blk_types.h:10:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:8:
In file included from include/linux/cacheflush.h:5:
In file included from arch/x86/include/asm/cacheflush.h:5:
In file included from include/linux/mm.h:2213:
include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
clang diag: include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
1 warning generated.
clang diag: include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
clang diag: include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
>> error[E0432]: unresolved import `core::marker::CoercePointee`
--> rust/kernel/list/arc.rs:10:5
|
10 | use core::marker::CoercePointee;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CoercePointee` in `marker`
--
>> error[E0432]: unresolved import `core::pin::PinCoerceUnsized`
--> rust/kernel/list/arc.rs:13:22
|
13 | use core::pin::{Pin, PinCoerceUnsized};
| ^^^^^^^^^^^^^^^^
| |
| no `PinCoerceUnsized` in `pin`
| help: a similar name exists in the module: `CoerceUnsized`
--
>> error[E0432]: unresolved import `core::marker::CoercePointee`
--> rust/kernel/sync/arc.rs:29:14
|
29 | marker::{CoercePointee, PhantomData},
| ^^^^^^^^^^^^^ no `CoercePointee` in `marker`
--
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-11-22 19:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-22 19:27 [rust:pr/1130 1/2] error[E0432]: unresolved import `core::marker::CoercePointee` 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;
as well as URLs for NNTP newsgroup(s).