Re: [PATCH v2] rust_binder: speed up get_node_debug_info using lower_bound iter

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild-all,org.kernel.vger.rust-for-linux
Message-ID <[email protected]>
Hi Rafael,

kernel test robot noticed the following build errors:

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on staging/staging-next staging/staging-linus linus/master v7.2-rc7 next-20260810]
[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/Rafael-Passos/rust_binder-speed-up-get_node_debug_info-using-lower_bound-iter/20260806-233902
base:   staging/staging-testing
patch link:    https://lore.kernel.org/r/20260731133253.661634-1-rafael%40rcpassos.me
patch subject: [PATCH v2] rust_binder: speed up get_node_debug_info using lower_bound iter
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260810/[email protected]/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260810/[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 >>):

   PATH=/opt/cross/clang-22/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
   INFO PATH=/opt/cross/rustc-1.96.0-bindgen-0.72.1/cargo/bin:/opt/cross/clang-22/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
   /usr/bin/timeout -k 100 12h /usr/bin/make KCFLAGS=\ -fno-crash-diagnostics\ -Wno-error=return-type\ -Wreturn-type\ -funsigned-char\ -Wundef\ -falign-functions=64 W=1 --keep-going LLVM=1 -j384 -C source O=/kbuild/obj/consumer/x86_64-rhel-9.4-rust ARCH=x86_64 SHELL=/bin/bash rustfmtcheck 
   make: Entering directory '/kbuild/src'
   make[1]: Entering directory '/kbuild/obj/consumer/x86_64-rhel-9.4-rust'
>> Diff in drivers/android/binder/process.rs:1175:
            {
                let inner = self.inner.lock();
                // cursor_lower_bound retrieves the "key" passed or the next existing larger key
   -            if let Some(cursor) = inner.nodes.cursor_lower_bound(&(ptr+1)){
   +            if let Some(cursor) = inner.nodes.cursor_lower_bound(&(ptr + 1)) {
                    let (_, node) = cursor.current();
                    node.populate_debug_info(&mut out, &inner);
                }
>> Diff in drivers/android/binder/process.rs:1175:
            {
                let inner = self.inner.lock();
                // cursor_lower_bound retrieves the "key" passed or the next existing larger key
   -            if let Some(cursor) = inner.nodes.cursor_lower_bound(&(ptr+1)){
   +            if let Some(cursor) = inner.nodes.cursor_lower_bound(&(ptr + 1)) {
                    let (_, node) = cursor.current();
                    node.populate_debug_info(&mut out, &inner);
                }
   make[2]: *** [Makefile:1998: rustfmt] Error 123
   make[1]: Leaving directory '/kbuild/obj/consumer/x86_64-rhel-9.4-rust'
   make[1]: *** [Makefile:248: __sub-make] Error 2
   make[2]: Target 'rustfmtcheck' not remade because of errors.
   make[1]: Target 'rustfmtcheck' not remade because of errors.
   make: *** [Makefile:248: __sub-make] Error 2
   make: Target 'rustfmtcheck' not remade because of errors.
   make: Leaving directory '/kbuild/src'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.