[linux-next:master 3426/3432] error[E0432]: unresolved import `crate::types::ARef`

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   b6270c3bca987530eafc6a15f9d54ecd0033e0e3
commit: 6f1eae733bf1bfb92f5339e096b6990f28e4262f [3426/3432] Merge branch 'rust-next' of https://github.com/Rust-for-Linux/linux.git
config: x86_64-buildonly-randconfig-001-20241009 (https://download.01.org/0day-ci/archive/20241010/202410100136.vvX9cS2a-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241010/202410100136.vvX9cS2a-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/202410100136.vvX9cS2a-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> error[E0432]: unresolved import `crate::types::ARef`
   --> rust/kernel/task.rs:10:13
   |
   10 |     types::{ARef, NotThreadSafe, Opaque},
   |             ^^^^ no `ARef` in `types`
   |
   = help: consider importing this struct instead:
   crate::sync::aref::ARef
--
>> error[E0690]: transparent struct needs at most one field with non-trivial size or alignment, but has 2
   --> rust/kernel/seq_file.rs:11:1
   |
   11 | pub struct SeqFile {
   | ^^^^^^^^^^^^^^^^^^ needs at most one field with non-trivial size or alignment, but has 2
   12 |     inner: Opaque<bindings::seq_file>,
   |     --------------------------------- this field has non-zero size or requires alignment
   13 |     _not_send: NotThreadSafe,
   |     ------------------------ this field has non-zero size or requires alignment

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux