* error[E0432]: unresolved import `core::sync::atomic::AtomicU64`
@ 2025-04-30 4:54 kernel test robot
2025-04-30 5:06 ` Miguel Ojeda
0 siblings, 1 reply; 6+ messages in thread
From: kernel test robot @ 2025-04-30 4:54 UTC (permalink / raw)
To: FUJITA Tomonori
Cc: oe-kbuild-all, linux-kernel, Miguel Ojeda, Danilo Krummrich
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@intel.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`
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: error[E0432]: unresolved import `core::sync::atomic::AtomicU64`
2025-04-30 4:54 error[E0432]: unresolved import `core::sync::atomic::AtomicU64` kernel test robot
@ 2025-04-30 5:06 ` Miguel Ojeda
2025-04-30 8:28 ` Andreas Hindborg
0 siblings, 1 reply; 6+ messages in thread
From: Miguel Ojeda @ 2025-04-30 5:06 UTC (permalink / raw)
To: kernel test robot, Andreas Hindborg
Cc: FUJITA Tomonori, oe-kbuild-all, linux-kernel, Miguel Ojeda,
Danilo Krummrich
On Wed, Apr 30, 2025 at 6:55 AM kernel test robot <lkp@intel.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@intel.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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: error[E0432]: unresolved import `core::sync::atomic::AtomicU64`
2025-04-30 5:06 ` Miguel Ojeda
@ 2025-04-30 8:28 ` Andreas Hindborg
0 siblings, 0 replies; 6+ messages in thread
From: Andreas Hindborg @ 2025-04-30 8:28 UTC (permalink / raw)
To: Miguel Ojeda
Cc: kernel test robot, FUJITA Tomonori, oe-kbuild-all, linux-kernel,
Miguel Ojeda, Danilo Krummrich
"Miguel Ojeda" <miguel.ojeda.sandonis@gmail.com> writes:
> On Wed, Apr 30, 2025 at 6:55 AM kernel test robot <lkp@intel.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@intel.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.
>
Gary sent a patch to fix this a while back [1].
Best regards,
Andreas Hindborg
[1] https://lore.kernel.org/all/20250219201602.1898383-4-gary@garyguo.net
^ permalink raw reply [flat|nested] 6+ messages in thread
* error[E0432]: unresolved import `core::sync::atomic::AtomicU64`
@ 2025-06-08 0:21 kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2025-06-08 0:21 UTC (permalink / raw)
To: FUJITA Tomonori
Cc: oe-kbuild-all, linux-kernel, Miguel Ojeda, Danilo Krummrich
Hi FUJITA,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8630c59e99363c4b655788fd01134aef9bcd9264
commit: 584e61452f75bfeac2cdd83730b4059526ec60c7 rust: helpers: Remove volatile qualifier from io helpers
date: 8 weeks ago
config: um-randconfig-r062-20250608 (https://download.01.org/0day-ci/archive/20250608/202506080840.LF35utzo-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250608/202506080840.LF35utzo-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/202506080840.LF35utzo-lkp@intel.com/
All errors (new ones prefixed by >>):
***
*** Rust bindings generator 'bindgen' < 0.69.5 together with libclang >= 19.1
*** may not work due to a bug (https://github.com/rust-lang/rust-bindgen/pull/2824),
*** unless patched (like Debian's).
*** Your bindgen version: 0.65.1
*** Your libclang version: 21.0.0
***
***
*** Please see Documentation/rust/quick-start.rst for details
*** on how to set up the Rust support.
***
>> 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`
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 6+ messages in thread
* error[E0432]: unresolved import `core::sync::atomic::AtomicU64`
@ 2025-06-27 7:06 kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2025-06-27 7:06 UTC (permalink / raw)
To: FUJITA Tomonori
Cc: llvm, oe-kbuild-all, linux-kernel, Miguel Ojeda, Danilo Krummrich
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6f2a71a99ebd5dfaa7948a2e9c59eae94b741bd8
commit: 584e61452f75bfeac2cdd83730b4059526ec60c7 rust: helpers: Remove volatile qualifier from io helpers
date: 2 months ago
config: um-randconfig-2006-20250627 (https://download.01.org/0day-ci/archive/20250627/202506270925.eyPB7JXk-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250627/202506270925.eyPB7JXk-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/202506270925.eyPB7JXk-lkp@intel.com/
All errors (new ones prefixed by >>):
***
*** Rust bindings generator 'bindgen' < 0.69.5 together with libclang >= 19.1
*** may not work due to a bug (https://github.com/rust-lang/rust-bindgen/pull/2824),
*** unless patched (like Debian's).
*** Your bindgen version: 0.65.1
*** Your libclang version: 21.0.0
***
***
*** Please see Documentation/rust/quick-start.rst for details
*** on how to set up the Rust support.
***
>> 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`
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 6+ messages in thread
* error[E0432]: unresolved import `core::sync::atomic::AtomicU64`
@ 2025-11-20 20:32 kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2025-11-20 20:32 UTC (permalink / raw)
To: FUJITA Tomonori
Cc: llvm, oe-kbuild-all, linux-kernel, Miguel Ojeda, Danilo Krummrich
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fd95357fd8c6778ac7dea6c57a19b8b182b6e91f
commit: 584e61452f75bfeac2cdd83730b4059526ec60c7 rust: helpers: Remove volatile qualifier from io helpers
date: 7 months ago
config: um-randconfig-001-20251121 (https://download.01.org/0day-ci/archive/20251121/202511210427.s8clI0Az-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9e9fe08b16ea2c4d9867fb4974edf2a3776d6ece)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251121/202511210427.s8clI0Az-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/202511210427.s8clI0Az-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`
--
>> error[E0560]: struct `blk_mq_tag_set` has no field named `timeout`
--> rust/kernel/block/mq/tag_set.rs:50:21
|
50 | timeout: 0, // 0 means default which is 30Hz in C
| ^^^^^^^ `blk_mq_tag_set` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `blk_mq_tag_set` has no field named `numa_node`
--> rust/kernel/block/mq/tag_set.rs:51:21
|
51 | numa_node: bindings::NUMA_NO_NODE,
| ^^^^^^^^^ `blk_mq_tag_set` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `blk_mq_tag_set` has no field named `queue_depth`
--> rust/kernel/block/mq/tag_set.rs:52:21
|
52 | queue_depth: num_tags,
| ^^^^^^^^^^^ `blk_mq_tag_set` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `blk_mq_tag_set` has no field named `cmd_size`
--> rust/kernel/block/mq/tag_set.rs:53:21
|
53 | cmd_size,
| ^^^^^^^^ `blk_mq_tag_set` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `blk_mq_tag_set` has no field named `flags`
--> rust/kernel/block/mq/tag_set.rs:54:21
|
54 | flags: 0,
| ^^^^^ `blk_mq_tag_set` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `blk_mq_tag_set` has no field named `driver_data`
--> rust/kernel/block/mq/tag_set.rs:55:21
|
55 | driver_data: core::ptr::null_mut::<crate::ffi::c_void>(),
| ^^^^^^^^^^^ `blk_mq_tag_set` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `blk_mq_tag_set` has no field named `nr_maps`
--> rust/kernel/block/mq/tag_set.rs:56:21
|
56 | nr_maps: num_maps,
| ^^^^^^^ `blk_mq_tag_set` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `block_device_operations` has no field named `submit_bio`
--> rust/kernel/block/mq/gen_disk.rs:116:13
|
116 | submit_bio: None,
| ^^^^^^^^^^ `block_device_operations` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `block_device_operations` has no field named `open`
--> rust/kernel/block/mq/gen_disk.rs:117:13
|
117 | open: None,
| ^^^^ `block_device_operations` does not have this field
|
= note: available fields are: `_address`
..
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-11-20 20:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-30 4:54 error[E0432]: unresolved import `core::sync::atomic::AtomicU64` kernel test robot
2025-04-30 5:06 ` Miguel Ojeda
2025-04-30 8:28 ` Andreas Hindborg
-- strict thread matches above, loose matches on Subject: below --
2025-06-08 0:21 kernel test robot
2025-06-27 7:06 kernel test robot
2025-11-20 20:32 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