From: kernel test robot <lkp@intel.com>
To: Trevor Chan <trev@trevrosa.dev>,
gregkh@linuxfoundation.org, rafael@kernel.org, dakr@kernel.org,
ojeda@kernel.org, a.hindborg@kernel.org, paul@paul-moore.com,
airlied@gmail.com, simona@ffwll.ch, aliceryhl@google.com,
viro@zeniv.linux.org.uk, brauner@kernel.org,
igor.korotin@linux.dev, boqun@kernel.org, gary@garyguo.net,
axboe@kernel.dk, daniel.almeida@collabora.com,
shankari.ak0208@gmail.com, lyude@redhat.com, j@jananu.net,
akpm@linux-foundation.org, acourbot@nvidia.com
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
david.m.ertman@intel.com, iweiny@kernel.org, leon@kernel.org,
bjorn3_gh@protonmail.com, lossin@kernel.org, tmgross@umich.edu,
tamird@kernel.org, work@onurozkan.dev, sergeh@kernel.org
Subject: Re: [PATCH v5] rust: aref: make `AlwaysRefCounted::inc_ref` an associated function
Date: Thu, 13 Aug 2026 01:57:22 +0800 [thread overview]
Message-ID: <202608130155.R5DtGsVt-lkp@intel.com> (raw)
In-Reply-To: <20260628092853.16550-1-trev@trevrosa.dev>
Hi Trevor,
kernel test robot noticed the following build errors:
[auto build test ERROR on driver-core/driver-core-linus]
[also build test ERROR on rust/rust-next akpm-mm/mm-everything linus/master v7.2-rc7]
[cannot apply to driver-core/driver-core-testing driver-core/driver-core-next drm/drm-next next-20260811]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Trevor-Chan/rust-aref-make-AlwaysRefCounted-inc_ref-an-associated-function/20260812-112718
base: driver-core/driver-core-linus
patch link: https://lore.kernel.org/r/20260628092853.16550-1-trev%40trevrosa.dev
patch subject: [PATCH v5] rust: aref: make `AlwaysRefCounted::inc_ref` an associated function
config: x86_64-randconfig-016-20260812 (https://download.01.org/0day-ci/archive/20260813/202608130155.R5DtGsVt-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260813/202608130155.R5DtGsVt-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/202608130155.R5DtGsVt-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0185]: method `inc_ref` has a `&self` declaration in the impl, but not in the trait
--> rust/kernel/opp.rs:1046:5
|
1046 | fn inc_ref(&self) {
| ^^^^^^^^^^^^^^^^^ `&self` used in impl
|
::: rust/kernel/sync/aref.rs:50:5
|
50 | fn inc_ref(obj: &Self);
| ----------------------- trait method declared without `&self`
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-08-12 17:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-28 9:28 [PATCH v5] rust: aref: make `AlwaysRefCounted::inc_ref` an associated function Trevor Chan
2026-06-28 9:37 ` sashiko-bot
2026-08-12 17:57 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202608130155.R5DtGsVt-lkp@intel.com \
--to=lkp@intel.com \
--cc=a.hindborg@kernel.org \
--cc=acourbot@nvidia.com \
--cc=airlied@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=aliceryhl@google.com \
--cc=axboe@kernel.dk \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun@kernel.org \
--cc=brauner@kernel.org \
--cc=dakr@kernel.org \
--cc=daniel.almeida@collabora.com \
--cc=david.m.ertman@intel.com \
--cc=gary@garyguo.net \
--cc=gregkh@linuxfoundation.org \
--cc=igor.korotin@linux.dev \
--cc=iweiny@kernel.org \
--cc=j@jananu.net \
--cc=leon@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=lossin@kernel.org \
--cc=lyude@redhat.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ojeda@kernel.org \
--cc=paul@paul-moore.com \
--cc=rafael@kernel.org \
--cc=sergeh@kernel.org \
--cc=shankari.ak0208@gmail.com \
--cc=simona@ffwll.ch \
--cc=tamird@kernel.org \
--cc=tmgross@umich.edu \
--cc=trev@trevrosa.dev \
--cc=viro@zeniv.linux.org.uk \
--cc=work@onurozkan.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.