public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* error[E0425]: cannot find value `__tracepoint_rust_sample_loaded` in crate `$crate::bindings`
@ 2024-12-11  8:19 kernel test robot
  2024-12-11 11:49 ` Alice Ryhl
  0 siblings, 1 reply; 7+ messages in thread
From: kernel test robot @ 2024-12-11  8:19 UTC (permalink / raw)
  To: Alice Ryhl
  Cc: llvm, oe-kbuild-all, linux-kernel, Steven Rostedt (Google),
	Boqun Feng

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f92f4749861b06fed908d336b4dee1326003291b
commit: 91d39024e1b02914cc5e2dbc137908e29b269ce4 rust: samples: add tracepoint to Rust sample
date:   5 weeks ago
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20241211/202412111617.7lVvmoPB-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/20241211/202412111617.7lVvmoPB-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/202412111617.7lVvmoPB-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0425]: cannot find value `__tracepoint_rust_sample_loaded` in crate `$crate::bindings`
   --> samples/rust/rust_print.rs:87:5
   |
   87 | /     kernel::declare_trace! {
   88 | |         /// # Safety
   89 | |         ///
   90 | |         /// Always safe to call.
   91 | |         unsafe fn rust_sample_loaded(magic: c_int);
   92 | |     }
   | |_____^ not found in `$crate::bindings`
   |
   = note: this error originates in the macro `kernel::declare_trace` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0425]: cannot find function `rust_do_trace_rust_sample_loaded` in crate `$crate::bindings`
   --> samples/rust/rust_print.rs:87:5
   |
   87 | /     kernel::declare_trace! {
   88 | |         /// # Safety
   89 | |         ///
   90 | |         /// Always safe to call.
   91 | |         unsafe fn rust_sample_loaded(magic: c_int);
   92 | |     }
   | |_____^ not found in `$crate::bindings`
   |
   = note: this error originates in the macro `kernel::declare_trace` (in Nightly builds, run with -Z macro-backtrace for more info)

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: error[E0425]: cannot find value `__tracepoint_rust_sample_loaded` in crate `$crate::bindings`
  2024-12-11  8:19 kernel test robot
@ 2024-12-11 11:49 ` Alice Ryhl
  0 siblings, 0 replies; 7+ messages in thread
From: Alice Ryhl @ 2024-12-11 11:49 UTC (permalink / raw)
  To: kernel test robot
  Cc: llvm, oe-kbuild-all, linux-kernel, Steven Rostedt (Google),
	Boqun Feng

On Wed, Dec 11, 2024 at 9:20 AM kernel test robot <lkp@intel.com> wrote:
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   f92f4749861b06fed908d336b4dee1326003291b
> commit: 91d39024e1b02914cc5e2dbc137908e29b269ce4 rust: samples: add tracepoint to Rust sample
> date:   5 weeks ago
> config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20241211/202412111617.7lVvmoPB-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/20241211/202412111617.7lVvmoPB-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/202412111617.7lVvmoPB-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> error[E0425]: cannot find value `__tracepoint_rust_sample_loaded` in crate `$crate::bindings`
>    --> samples/rust/rust_print.rs:87:5
>    |
>    87 | /     kernel::declare_trace! {
>    88 | |         /// # Safety
>    89 | |         ///
>    90 | |         /// Always safe to call.
>    91 | |         unsafe fn rust_sample_loaded(magic: c_int);
>    92 | |     }
>    | |_____^ not found in `$crate::bindings`
>    |
>    = note: this error originates in the macro `kernel::declare_trace` (in Nightly builds, run with -Z macro-backtrace for more info)
> --
> >> error[E0425]: cannot find function `rust_do_trace_rust_sample_loaded` in crate `$crate::bindings`
>    --> samples/rust/rust_print.rs:87:5
>    |
>    87 | /     kernel::declare_trace! {
>    88 | |         /// # Safety
>    89 | |         ///
>    90 | |         /// Always safe to call.
>    91 | |         unsafe fn rust_sample_loaded(magic: c_int);
>    92 | |     }
>    | |_____^ not found in `$crate::bindings`
>    |
>    = note: this error originates in the macro `kernel::declare_trace` (in Nightly builds, run with -Z macro-backtrace for more info)

Would it be possible to update the bindgen version used by this robot?
See commit b2603f8ac821 ("rust: warn on bindgen < 0.69.5 and libclang
>= 19.1") for details on why.

Alice

^ permalink raw reply	[flat|nested] 7+ messages in thread

* error[E0425]: cannot find value `__tracepoint_rust_sample_loaded` in crate `$crate::bindings`
@ 2024-12-31  7:15 kernel test robot
  2024-12-31  8:57 ` Philip Li
  0 siblings, 1 reply; 7+ messages in thread
From: kernel test robot @ 2024-12-31  7:15 UTC (permalink / raw)
  To: Alice Ryhl
  Cc: llvm, oe-kbuild-all, linux-kernel, Steven Rostedt (Google),
	Boqun Feng

Hi Alice,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ccb98ccef0e543c2bd4ef1a72270461957f3d8d0
commit: 91d39024e1b02914cc5e2dbc137908e29b269ce4 rust: samples: add tracepoint to Rust sample
date:   8 weeks ago
config: x86_64-buildonly-randconfig-001-20241230 (https://download.01.org/0day-ci/archive/20241231/202412311507.14xdiaIX-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/20241231/202412311507.14xdiaIX-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/202412311507.14xdiaIX-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0425]: cannot find value `__tracepoint_rust_sample_loaded` in crate `$crate::bindings`
   --> samples/rust/rust_print.rs:87:5
   |
   87 | /     kernel::declare_trace! {
   88 | |         /// # Safety
   89 | |         ///
   90 | |         /// Always safe to call.
   91 | |         unsafe fn rust_sample_loaded(magic: c_int);
   92 | |     }
   | |_____^ not found in `$crate::bindings`
   |
   = note: this error originates in the macro `kernel::declare_trace` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0425]: cannot find function `rust_do_trace_rust_sample_loaded` in crate `$crate::bindings`
   --> samples/rust/rust_print.rs:87:5
   |
   87 | /     kernel::declare_trace! {
   88 | |         /// # Safety
   89 | |         ///
   90 | |         /// Always safe to call.
   91 | |         unsafe fn rust_sample_loaded(magic: c_int);
   92 | |     }
   | |_____^ not found in `$crate::bindings`
   |
   = note: this error originates in the macro `kernel::declare_trace` (in Nightly builds, run with -Z macro-backtrace for more info)

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: error[E0425]: cannot find value `__tracepoint_rust_sample_loaded` in crate `$crate::bindings`
  2024-12-31  7:15 error[E0425]: cannot find value `__tracepoint_rust_sample_loaded` in crate `$crate::bindings` kernel test robot
@ 2024-12-31  8:57 ` Philip Li
  2025-01-06 11:49   ` Alice Ryhl
  0 siblings, 1 reply; 7+ messages in thread
From: Philip Li @ 2024-12-31  8:57 UTC (permalink / raw)
  To: kernel test robot
  Cc: Alice Ryhl, llvm, oe-kbuild-all, linux-kernel,
	Steven Rostedt (Google), Boqun Feng

On Tue, Dec 31, 2024 at 03:15:47PM +0800, kernel test robot wrote:
> Hi Alice,
> 
> FYI, the error/warning still remains.

Kindly ignore this report, which had already been discussed in [1]

[1] https://lore.kernel.org/oe-kbuild-all/CAH5fLggEzmerC6Qg1fjuc_wiy21BJQGGYdZSZA+KV=oP6q9iJg@mail.gmail.com/ 

> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   ccb98ccef0e543c2bd4ef1a72270461957f3d8d0
> commit: 91d39024e1b02914cc5e2dbc137908e29b269ce4 rust: samples: add tracepoint to Rust sample
> date:   8 weeks ago
> config: x86_64-buildonly-randconfig-001-20241230 (https://download.01.org/0day-ci/archive/20241231/202412311507.14xdiaIX-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/20241231/202412311507.14xdiaIX-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/202412311507.14xdiaIX-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
> >> error[E0425]: cannot find value `__tracepoint_rust_sample_loaded` in crate `$crate::bindings`
>    --> samples/rust/rust_print.rs:87:5
>    |
>    87 | /     kernel::declare_trace! {
>    88 | |         /// # Safety
>    89 | |         ///
>    90 | |         /// Always safe to call.
>    91 | |         unsafe fn rust_sample_loaded(magic: c_int);
>    92 | |     }
>    | |_____^ not found in `$crate::bindings`
>    |
>    = note: this error originates in the macro `kernel::declare_trace` (in Nightly builds, run with -Z macro-backtrace for more info)
> --
> >> error[E0425]: cannot find function `rust_do_trace_rust_sample_loaded` in crate `$crate::bindings`
>    --> samples/rust/rust_print.rs:87:5
>    |
>    87 | /     kernel::declare_trace! {
>    88 | |         /// # Safety
>    89 | |         ///
>    90 | |         /// Always safe to call.
>    91 | |         unsafe fn rust_sample_loaded(magic: c_int);
>    92 | |     }
>    | |_____^ not found in `$crate::bindings`
>    |
>    = note: this error originates in the macro `kernel::declare_trace` (in Nightly builds, run with -Z macro-backtrace for more info)
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: error[E0425]: cannot find value `__tracepoint_rust_sample_loaded` in crate `$crate::bindings`
  2024-12-31  8:57 ` Philip Li
@ 2025-01-06 11:49   ` Alice Ryhl
  2025-01-08  0:56     ` Philip Li
  0 siblings, 1 reply; 7+ messages in thread
From: Alice Ryhl @ 2025-01-06 11:49 UTC (permalink / raw)
  To: Philip Li
  Cc: kernel test robot, llvm, oe-kbuild-all, linux-kernel,
	Steven Rostedt (Google), Boqun Feng

On Tue, Dec 31, 2024 at 9:58 AM Philip Li <philip.li@intel.com> wrote:
>
> On Tue, Dec 31, 2024 at 03:15:47PM +0800, kernel test robot wrote:
> > Hi Alice,
> >
> > FYI, the error/warning still remains.
>
> Kindly ignore this report, which had already been discussed in [1]
>
> [1] https://lore.kernel.org/oe-kbuild-all/CAH5fLggEzmerC6Qg1fjuc_wiy21BJQGGYdZSZA+KV=oP6q9iJg@mail.gmail.com/

Would it be possible to upgrade bindgen used by this robot? Please see:
https://lore.kernel.org/all/CAH5fLgjmtuZ7Sxp49GoGC079sXqS4wmsEmZKM-T4Mh9FycDYGQ@mail.gmail.com/

Alice

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: error[E0425]: cannot find value `__tracepoint_rust_sample_loaded` in crate `$crate::bindings`
  2025-01-06 11:49   ` Alice Ryhl
@ 2025-01-08  0:56     ` Philip Li
  2025-01-08  8:40       ` Alice Ryhl
  0 siblings, 1 reply; 7+ messages in thread
From: Philip Li @ 2025-01-08  0:56 UTC (permalink / raw)
  To: Alice Ryhl
  Cc: kernel test robot, llvm, oe-kbuild-all, linux-kernel,
	Steven Rostedt (Google), Boqun Feng

On Mon, Jan 06, 2025 at 12:49:43PM +0100, Alice Ryhl wrote:
> On Tue, Dec 31, 2024 at 9:58 AM Philip Li <philip.li@intel.com> wrote:
> >
> > On Tue, Dec 31, 2024 at 03:15:47PM +0800, kernel test robot wrote:
> > > Hi Alice,
> > >
> > > FYI, the error/warning still remains.
> >
> > Kindly ignore this report, which had already been discussed in [1]
> >
> > [1] https://lore.kernel.org/oe-kbuild-all/CAH5fLggEzmerC6Qg1fjuc_wiy21BJQGGYdZSZA+KV=oP6q9iJg@mail.gmail.com/
> 
> Would it be possible to upgrade bindgen used by this robot? Please see:
> https://lore.kernel.org/all/CAH5fLgjmtuZ7Sxp49GoGC079sXqS4wmsEmZKM-T4Mh9FycDYGQ@mail.gmail.com/

Sorry, i missed this suggestion. Sure, the bot side will follow up to
upgrade bindgen, so far, it follows scripts/min-tool-version.sh to choose
which version to use.

> 
> Alice

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: error[E0425]: cannot find value `__tracepoint_rust_sample_loaded` in crate `$crate::bindings`
  2025-01-08  0:56     ` Philip Li
@ 2025-01-08  8:40       ` Alice Ryhl
  0 siblings, 0 replies; 7+ messages in thread
From: Alice Ryhl @ 2025-01-08  8:40 UTC (permalink / raw)
  To: Philip Li
  Cc: kernel test robot, llvm, oe-kbuild-all, linux-kernel,
	Steven Rostedt (Google), Boqun Feng

On Wed, Jan 8, 2025 at 1:57 AM Philip Li <philip.li@intel.com> wrote:
>
> On Mon, Jan 06, 2025 at 12:49:43PM +0100, Alice Ryhl wrote:
> > On Tue, Dec 31, 2024 at 9:58 AM Philip Li <philip.li@intel.com> wrote:
> > >
> > > On Tue, Dec 31, 2024 at 03:15:47PM +0800, kernel test robot wrote:
> > > > Hi Alice,
> > > >
> > > > FYI, the error/warning still remains.
> > >
> > > Kindly ignore this report, which had already been discussed in [1]
> > >
> > > [1] https://lore.kernel.org/oe-kbuild-all/CAH5fLggEzmerC6Qg1fjuc_wiy21BJQGGYdZSZA+KV=oP6q9iJg@mail.gmail.com/
> >
> > Would it be possible to upgrade bindgen used by this robot? Please see:
> > https://lore.kernel.org/all/CAH5fLgjmtuZ7Sxp49GoGC079sXqS4wmsEmZKM-T4Mh9FycDYGQ@mail.gmail.com/
>
> Sorry, i missed this suggestion. Sure, the bot side will follow up to
> upgrade bindgen, so far, it follows scripts/min-tool-version.sh to choose
> which version to use.

Thanks!

Alice

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-01-08  8:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-31  7:15 error[E0425]: cannot find value `__tracepoint_rust_sample_loaded` in crate `$crate::bindings` kernel test robot
2024-12-31  8:57 ` Philip Li
2025-01-06 11:49   ` Alice Ryhl
2025-01-08  0:56     ` Philip Li
2025-01-08  8:40       ` Alice Ryhl
  -- strict thread matches above, loose matches on Subject: below --
2024-12-11  8:19 kernel test robot
2024-12-11 11:49 ` Alice Ryhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox