All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Gary Guo <gary@garyguo.net>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [nbdd0121:io_projection 16/19] error[E0405]: cannot find trait `FromBytes` in this scope
Date: Sun, 22 Feb 2026 13:52:58 +0100	[thread overview]
Message-ID: <202602221313.dcB4ETX2-lkp@intel.com> (raw)

tree:   https://github.com/nbdd0121/linux io_projection
head:   c4a22eafa4aa47b5c3c75d57488c44e653827fc6
commit: d12fb6412e5338bb69eab42f45ede455a57fbfbf [16/19] rust: io: add view type
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260222/202602221313.dcB4ETX2-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260222/202602221313.dcB4ETX2-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/202602221313.dcB4ETX2-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0405]: cannot find trait `FromBytes` in this scope
   --> rust/kernel/io.rs:667:24
   |
   667 |         T: KnownSize + FromBytes + AsBytes,
   |                        ^^^^^^^^^ not found in this scope
   |
   help: consider importing this trait
   |
   7   + use crate::transmute::FromBytes;
   |
--
>> error[E0405]: cannot find trait `AsBytes` in this scope
   --> rust/kernel/io.rs:667:36
   |
   667 |         T: KnownSize + FromBytes + AsBytes,
   |                                    ^^^^^^^ not found in this scope
   |
   help: consider importing this trait
   |
   7   + use crate::transmute::AsBytes;
   |
--
>> error[E0405]: cannot find trait `FromBytes` in this scope
   --> rust/kernel/io.rs:668:12
   |
   668 |         U: FromBytes + AsBytes,
   |            ^^^^^^^^^ not found in this scope
   |
   help: consider importing this trait
   |
   7   + use crate::transmute::FromBytes;
   |
--
>> error[E0405]: cannot find trait `AsBytes` in this scope
   --> rust/kernel/io.rs:668:24
   |
   668 |         U: FromBytes + AsBytes,
   |                        ^^^^^^^ not found in this scope
   |
   help: consider importing this trait
   |
   7   + use crate::transmute::AsBytes;
   |

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

             reply	other threads:[~2026-02-22 12:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-22 12:52 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-02-22 23:05 [nbdd0121:io_projection 16/19] error[E0405]: cannot find trait `FromBytes` in this scope kernel test robot

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=202602221313.dcB4ETX2-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=gary@garyguo.net \
    --cc=oe-kbuild-all@lists.linux.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.