Hi Alice,

kernel test robot noticed the following build errors:

[auto build test ERROR on 19272b37aa4f83ca52bdf9c16d5d81bdd1354494]

url:    
https://github.com/intel-lab-lkp/linux/commits/Alice-Ryhl/panic-improve-panic-output-from-Rust-panics/20250619-231923
base:   19272b37aa4f83ca52bdf9c16d5d81bdd1354494
patch link:    
https://lore.kernel.org/r/20250619-rust-panic-v1-1-ad1a803962e5%40google.com
patch subject: [PATCH] panic: improve panic output from Rust panics
config: x86_64-rhel-9.4-rust 
(https://download.01.org/0day-ci/archive/20250620/[email protected]/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 
3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20250620/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> error[E0277]: `core::option::Option<&core::fmt::Arguments<'_>>` doesn't 
>> implement `core::fmt::Display`
   --> rust/kernel/lib.rs:210:36
   |
   210 |     match core::format_args!("{}", info.message()) {
   |                                    ^^^^^^^^^^^^^^ 
`core::option::Option<&core::fmt::Arguments<'_>>` cannot be formatted with the 
default formatter
   |
   = help: the trait `core::fmt::Display` is not implemented for 
`core::option::Option<&core::fmt::Arguments<'_>>`
   = note: in format strings you may be able to use `{:?}` (or {:#?} for 
pretty-print) instead
   = note: this error originates in the macro `core::format_args` (in Nightly 
builds, run with -Z macro-backtrace for more info)

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

Reply via email to