========== build_allmodconfig_warn - FAILED Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../rust/helpers/helpers.c: note: in included file (through ../rust/helpers/pwm.c): ../include/linux/pwm.h:13:1: error: bad constant expression error[E0412]: cannot find type `driver_type` in crate `bindings` --> ../rust/kernel/device.rs:21:47 | 21 | static_assert!(core::mem::size_of::() >= core::mem::size_of::()); | ^^^^^^^^^^^ help: a type alias with a similar name exists: `iter_type` | ::: /srv/nipa-poller/bpf-next/wt-0/build_allmodconfig_warn/rust/bindings/bindings_generated.rs:60425:1 | 60425 | pub type iter_type = ffi::c_uint; | ------------------ similarly named type alias `iter_type` defined here error[E0609]: no field `driver_type` on type `bindings::device_private` --> ../rust/kernel/device.rs:210:56 | 210 | let driver_type = unsafe { &raw mut (*private).driver_type }; | ^^^^^^^^^^^ unknown field | = note: available fields are: `klist_children`, `knode_parent`, `knode_driver`, `knode_bus`, `knode_class` ... and 7 others error[E0609]: no field `driver_type` on type `bindings::device_private` --> ../rust/kernel/device.rs:295:56 | 295 | let driver_type = unsafe { &raw mut (*private).driver_type }; | ^^^^^^^^^^^ unknown field | = note: available fields are: `klist_children`, `knode_parent`, `knode_driver`, `knode_bus`, `knode_class` ... and 7 others error: aborting due to 3 previous errors Some errors have detailed explanations: E0412, E0609. For more information about an error, try `rustc --explain E0412`. make[3]: *** [../rust/Makefile:683: rust/kernel.o] Error 1 make[2]: *** [/srv/nipa-poller/bpf-next/wt-0/Makefile:1321: prepare] Error 2 make[1]: *** [/srv/nipa-poller/bpf-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../rust/helpers/helpers.c: note: in included file (through ../rust/helpers/pwm.c): ../include/linux/pwm.h:13:1: error: bad constant expression error[E0412]: cannot find type `driver_type` in crate `bindings` --> ../rust/kernel/device.rs:21:47 | 21 | static_assert!(core::mem::size_of::() >= core::mem::size_of::()); | ^^^^^^^^^^^ help: a type alias with a similar name exists: `iter_type` | ::: /srv/nipa-poller/bpf-next/wt-0/build_allmodconfig_warn/rust/bindings/bindings_generated.rs:60426:1 | 60426 | pub type iter_type = ffi::c_uint; | ------------------ similarly named type alias `iter_type` defined here error[E0609]: no field `driver_type` on type `bindings::device_private` --> ../rust/kernel/device.rs:210:56 | 210 | let driver_type = unsafe { &raw mut (*private).driver_type }; | ^^^^^^^^^^^ unknown field | = note: available fields are: `klist_children`, `knode_parent`, `knode_driver`, `knode_bus`, `knode_class` ... and 7 others error[E0609]: no field `driver_type` on type `bindings::device_private` --> ../rust/kernel/device.rs:295:56 | 295 | let driver_type = unsafe { &raw mut (*private).driver_type }; | ^^^^^^^^^^^ unknown field | = note: available fields are: `klist_children`, `knode_parent`, `knode_driver`, `knode_bus`, `knode_class` ... and 7 others error: aborting due to 3 previous errors Some errors have detailed explanations: E0412, E0609. For more information about an error, try `rustc --explain E0412`. make[3]: *** [../rust/Makefile:683: rust/kernel.o] Error 1 make[2]: *** [/srv/nipa-poller/bpf-next/wt-0/Makefile:1321: prepare] Error 2 make[1]: *** [/srv/nipa-poller/bpf-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2