Build regressions were detected on multiple architectures (arm, arm64,
riscv) with the Linux next-20250818 tag when building with Rust-enabled
configurations (rust-gcc and rust-clang) from selftests/rust/config.
Duplicate definition of ARCH_KMALLOC_MINALIGN in Rust bindings is
causing build failures across affected toolchains.
First seen on next-20250818
Good: next-20250815
Bad: next-20250818 and next-20250819
Regression Analysis:
- New regression? yes
- Reproducibility? yes
* arm, build
- rustclang-lkftconfig-kselftest
- rustgcc-lkftconfig-kselftest
* arm64, build
- rustclang-lkftconfig-kselftest
- rustgcc-lkftconfig-kselftest
* riscv, build
- rustclang-nightly-lkftconfig-kselftest
Boot regression: next-20250818 arm arm64 riscv rust
`ARCH_KMALLOC_MINALIGN` is defined multiple times
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
## Build log
error[E0428]: the name `ARCH_KMALLOC_MINALIGN` is defined multiple times
--> /home/tuxbuild/.cache/tuxmake/builds/1/build/rust/bindings/bindings_generated.rs:125708:1
|
5305 | pub const ARCH_KMALLOC_MINALIGN: u32 = 8;
| ----------------------------------------- previous definition
of the value `ARCH_KMALLOC_MINALIGN` here
...
125708 | pub const ARCH_KMALLOC_MINALIGN: usize = 8;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`ARCH_KMALLOC_MINALIGN` redefined here
|
= note: `ARCH_KMALLOC_MINALIGN` must be defined only once in
the value namespace of this module
error: aborting due to 1 previous error
Please refer the full build log information in the below links.
## Source
* Kernel version: 6.17.0-rc2
* Git tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next.git
* Git describe: next-20250818
* Git commit: 3ac864c2d9bb8608ee236e89bf561811613abfce
* Architectures: arm arm64 riscv
* Toolchains: rust-gcc-13, rust-clang-20
* Kconfigs: defconfig+rust
## Build
* Build log: https://qa-reports.linaro.org/api/testruns/29578517/log_file/
* Build details 1:
https://regressions.linaro.org/lkft/linux-next-master/next-20250818/build/r…
* Build details 2:
https://regressions.linaro.org/lkft/linux-next-master/next-20250818/build/r…
* Build details 3:
https://regressions.linaro.org/lkft/linux-next-master/next-20250818/build/r…
* Build plan: https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/builds/31RcUoS2A…
* Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/31RcUoS2AqZLljDCs480…
* Kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/31RcUoS2AqZLljDCs480…
--
Linaro LKFT
https://lkft.linaro.org
Total jobs: 140
Total errors: 102 (72.86%)
LAVA errors: 0 (0.00%)
Test errors: 46 (32.86%)
Job errors: 45 (32.14%)
Infra errors: 11 (7.86%)
Canceled jobs: 0 (0.00%)
Device type: dragonboard-845c
Total jobs: 65
Total errors: 45 (69.23%)
Error type: Test
Error count: 13 (20.00%)
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 2 (3.08%)
IDs:
db845c-03:
8406835 8408934
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 594 seconds'
Count: 1 (1.54%)
IDs:
db845c-04:
8408358
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 298 seconds'
Count: 2 (3.08%)
IDs:
db845c-04:
8406891
db845c-09:
8406902
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 290 seconds'
Count: 1 (1.54%)
IDs:
db845c-03:
8406823
Error: Device NOT found!
Count: 3 (4.62%)
IDs:
db845c-02:
8390979
db845c-03:
8406233
db845c-05:
8406822
Error: No match for error type 'Test', message 'tradefed - adb device lost[d9b7d9b]'
Count: 1 (1.54%)
IDs:
db845c-05:
8405628
Error: No match for error type 'Test', message 'tradefed - adb device lost[a6622a22]'
Count: 2 (3.08%)
IDs:
db845c-09:
8405390 8405626
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 53998 seconds'
Count: 1 (1.54%)
IDs:
db845c-06:
8390961
Error type: Job
Error count: 32 (49.23%)
Error: No match for error type 'Job', message 'test-definition timed out after 300 seconds'
Count: 2 (3.08%)
IDs:
db845c-03:
8406853 8408626
Error: No match for error type 'Job', message 'login-action timed out after 664 seconds'
Count: 1 (1.54%)
IDs:
db845c-04:
8408459
Error: wait for prompt timed out
Count: 13 (20.00%)
IDs:
db845c-03:
8406851
db845c-04:
8408391 8408397
db845c-05:
8406863 8406867 8406903 8408458
db845c-09:
8406850 8406854 8406905 8408395 8408399
8408401
Error: No match for error type 'Job', message 'login-action timed out after 684 seconds'
Count: 1 (1.54%)
IDs:
db845c-04:
8408406
Error: No match for error type 'Job', message 'login-action timed out after 739 seconds'
Count: 1 (1.54%)
IDs:
db845c-03:
8408404
Error: No match for error type 'Job', message 'login-action timed out after 787 seconds'
Count: 1 (1.54%)
IDs:
db845c-03:
8408398
Error: No match for error type 'Job', message 'login-action timed out after 732 seconds'
Count: 1 (1.54%)
IDs:
db845c-09:
8408379
Error: No match for error type 'Job', message 'lava-create-overlay timed out after 300 seconds'
Count: 2 (3.08%)
IDs:
db845c-03:
8408308
db845c-09:
8406892
Error: No match for error type 'Job', message 'login-action timed out after 612 seconds'
Count: 1 (1.54%)
IDs:
db845c-03:
8406904
Error: No match for error type 'Job', message 'login-action timed out after 758 seconds'
Count: 1 (1.54%)
IDs:
db845c-03:
8406900
Error: No match for error type 'Job', message 'login-action timed out after 650 seconds'
Count: 1 (1.54%)
IDs:
db845c-03:
8406896
Error: No match for error type 'Job', message 'login-action timed out after 630 seconds'
Count: 1 (1.54%)
IDs:
db845c-05:
8406895
Error: No match for error type 'Job', message 'login-action timed out after 721 seconds'
Count: 1 (1.54%)
IDs:
db845c-09:
8406893
Error: No match for error type 'Job', message 'login-action timed out after 835 seconds'
Count: 1 (1.54%)
IDs:
db845c-04:
8406866
Error: No match for error type 'Job', message 'login-action timed out after 866 seconds'
Count: 1 (1.54%)
IDs:
db845c-09:
8406865
Error: No match for error type 'Job', message 'login-action timed out after 862 seconds'
Count: 1 (1.54%)
IDs:
db845c-03:
8406864
Error: No match for error type 'Job', message 'login-action timed out after 860 seconds'
Count: 1 (1.54%)
IDs:
db845c-09:
8406852
Error: expect-shell-connection timed out
Count: 1 (1.54%)
IDs:
db845c-04:
8406831
Device type: hi6220-hikey-r2
Total jobs: 2
Total errors: 1 (50.00%)
Error type: Job
Error count: 1 (50.00%)
Error: auto-login action timed out
Count: 1 (50.00%)
IDs:
hikey-6220-r2-05:
8408933
Device type: sm8550-hdk
Total jobs: 13
Total errors: 7 (53.85%)
Error type: Test
Error count: 4 (30.77%)
Error: No match for error type 'Test', message 'lava-test-interactive timed out after 600 seconds'
Count: 3 (23.08%)
IDs:
sm8550-hdk-01:
8406879 8406880 8408382
Error: Device NOT found!
Count: 1 (7.69%)
IDs:
sm8550-hdk-01:
8406845
Error type: Infrastructure
Error count: 1 (7.69%)
Error: No match for error type 'Infrastructure', message 'Failed to clean after job'
Count: 1 (7.69%)
IDs:
sm8550-hdk-01:
8406881
Error type: Job
Error count: 2 (15.38%)
Error: expect-shell-connection timed out
Count: 1 (7.69%)
IDs:
sm8550-hdk-01:
8406878
Error: auto-login action timed out
Count: 1 (7.69%)
IDs:
sm8550-hdk-01:
8406877
Device type: qrb5165-rb5
Total jobs: 52
Total errors: 46 (88.46%)
Error type: Test
Error count: 28 (53.85%)
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 298 seconds'
Count: 5 (9.62%)
IDs:
rb5-01:
8408735 8408796
rb5-03:
8407411
rb5-06:
8408738 8408757
Error: Device NOT found!
Count: 3 (5.77%)
IDs:
rb5-03:
8408737
rb5-06:
8406834 8408795
Error: No match for error type 'Test', message 'tradefed - adb device lost[74d67c95]'
Count: 1 (1.92%)
IDs:
rb5-03:
8408384
Error: No match for error type 'Test', message 'lava-test-interactive timed out after 600 seconds'
Count: 15 (28.85%)
IDs:
rb5-01:
8406908 8406909 8408285 8408377
rb5-03:
8406857 8406911 8408345
rb5-06:
8406858 8406872 8406907 8407762 8408312
8408361
rb5-07:
8406859 8406862
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 288 seconds'
Count: 1 (1.92%)
IDs:
rb5-01:
8408309
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 597 seconds'
Count: 2 (3.85%)
IDs:
rb5-03:
8406860
rb5-06:
8406915
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 1 (1.92%)
IDs:
rb5-03:
8406837
Error type: Infrastructure
Error count: 10 (19.23%)
Error: Connection closed
Count: 10 (19.23%)
IDs:
rb5-01:
8406873 8406912 8407574 8408322 8408343
8408370 8408758 8408765 8408794
rb5-07:
8408120
Error type: Job
Error count: 8 (15.38%)
Error: No match for error type 'Job', message 'test-definition timed out after 300 seconds'
Count: 1 (1.92%)
IDs:
rb5-01:
8408763
Error: No match for error type 'Job', message 'login-action timed out after 473 seconds'
Count: 1 (1.92%)
IDs:
rb5-03:
8408762
Error: No match for error type 'Job', message 'login-action timed out after 757 seconds'
Count: 1 (1.92%)
IDs:
rb5-03:
8408740
Error: expect-shell-connection timed out
Count: 1 (1.92%)
IDs:
rb5-03:
8408371
Error: No match for error type 'Job', message 'login-action timed out after 876 seconds'
Count: 1 (1.92%)
IDs:
rb5-03:
8407818
Error: No match for error type 'Job', message 'login-action timed out after 834 seconds'
Count: 1 (1.92%)
IDs:
rb5-03:
8406875
Error: No match for error type 'Job', message 'login-action timed out after 869 seconds'
Count: 1 (1.92%)
IDs:
rb5-03:
8406871
Error: No match for error type 'Job', message 'login-action timed out after 874 seconds'
Count: 1 (1.92%)
IDs:
rb5-01:
8406870
Device type: rk3399-rock-pi-4b
Total jobs: 2
Total errors: 0 (0.00%)
Device type: dragonboard-410c
Total jobs: 2
Total errors: 2 (100.00%)
Error type: Job
Error count: 2 (100.00%)
Error: No match for error type 'Job', message '[ 1.464083] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 1.468603] SMP: stopping secondary CPUs
[ 1.475979] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---'
Count: 1 (50.00%)
IDs:
laa-00001-dragonboard-410c:
8408106
Error: No match for error type 'Job', message '[ 1.369574] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 1.374232] SMP: stopping secondary CPUs
[ 1.381611] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---'
Count: 1 (50.00%)
IDs:
db410c-05:
8407051
Device type: juno-r2
Total jobs: 2
Total errors: 1 (50.00%)
Error type: Test
Error count: 1 (50.00%)
Error: lava-test-shell timed out
Count: 1 (50.00%)
IDs:
juno-r2-02:
8407756
Device type: x15
Total jobs: 2
Total errors: 0 (0.00%)