[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72n6tTox7jMX89p4vLihghrJeDcBL+MWR8rp4_Y0LyxcKg@mail.gmail.com>
Date: Wed, 30 Apr 2025 07:06:28 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: kernel test robot <lkp@...el.com>, Andreas Hindborg <a.hindborg@...nel.org>
Cc: FUJITA Tomonori <fujita.tomonori@...il.com>, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, Miguel Ojeda <ojeda@...nel.org>,
Danilo Krummrich <dakr@...nel.org>
Subject: Re: error[E0432]: unresolved import `core::sync::atomic::AtomicU64`
On Wed, Apr 30, 2025 at 6:55 AM kernel test robot <lkp@...el.com> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 8bac8898fe398ffa3e09075ecea2be511725fb0b
> commit: 584e61452f75bfeac2cdd83730b4059526ec60c7 rust: helpers: Remove volatile qualifier from io helpers
> date: 2 weeks ago
> config: um-randconfig-r063-20250430 (https://download.01.org/0day-ci/archive/20250430/202504301208.YQCguEmE-lkp@intel.com/config)
> compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
> rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250430/202504301208.YQCguEmE-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@...el.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202504301208.YQCguEmE-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> error[E0432]: unresolved import `core::sync::atomic::AtomicU64`
> --> rust/kernel/block/mq/operations.rs:15:33
> |
> 15 | use core::{marker::PhantomData, sync::atomic::AtomicU64, sync::atomic::Ordering};
> | ^^^^^^^^^^^^^^---------
> | | |
> | | help: a similar name exists in the module: `AtomicU32`
> | no `AtomicU64` in `sync::atomic`
> --
> >> error[E0432]: unresolved import `core::sync::atomic::AtomicU64`
> --> rust/kernel/block/mq/request.rs:16:20
> |
> 16 | sync::atomic::{AtomicU64, Ordering},
> | ^^^^^^^^^
> | |
> | no `AtomicU64` in `sync::atomic`
> | help: a similar name exists in the module: `AtomicU32`
Cc'ing Andreas.
Cheers,
Miguel
Powered by blists - more mailing lists