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%)
Total jobs: 198
Total errors: 118 (59.60%)
LAVA errors: 1 (0.51%)
Test errors: 54 (27.27%)
Job errors: 60 (30.30%)
Infra errors: 3 (1.52%)
Canceled jobs: 0 (0.00%)
Device type: dragonboard-845c
Total jobs: 161
Total errors: 101 (62.73%)
Error type: Test
Error count: 41 (25.47%)
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 12 (7.45%)
IDs:
db845c-02:
8404777 8404808 8404916
db845c-03:
8404722 8404948
db845c-04:
8387562 8404786
db845c-06:
8404950
db845c-09:
8404772 8405059 8405383
db845c-10:
8404442
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 596 seconds'
Count: 1 (0.62%)
IDs:
db845c-10:
8405378
Error: Device NOT found!
Count: 5 (3.11%)
IDs:
db845c-02:
8404740 8405073
db845c-03:
8404921 8404953
db845c-04:
8404419
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 9 (5.59%)
IDs:
db845c-02:
8405057
db845c-03:
8404423 8404912 8405056
db845c-04:
8404425
db845c-05:
8404908 8405058
db845c-06:
8404426 8404911
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 592 seconds'
Count: 2 (1.24%)
IDs:
db845c-03:
8404759 8404830
Error: No match for error type 'Test', message 'tradefed - adb device lost[d9b7d9b]'
Count: 1 (0.62%)
IDs:
db845c-05:
8404819
Error: No match for error type 'Test', message 'tradefed - adb device lost[a6622a22]'
Count: 1 (0.62%)
IDs:
db845c-09:
8404760
Error: No match for error type 'Test', message 'tradefed - adb device lost[dd3b965f]'
Count: 1 (0.62%)
IDs:
db845c-02:
8404726
Error: No match for error type 'Test', message 'tradefed - adb device lost[f3a58ae3]'
Count: 1 (0.62%)
IDs:
db845c-04:
8404712
Error: No match for error type 'Test', message 'lava-test-interactive timed out after 600 seconds'
Count: 8 (4.97%)
IDs:
db845c-02:
8387553 8387555 8387556
db845c-03:
8387559
db845c-04:
8387558
db845c-09:
8387554 8387557 8404422
Error type: Job
Error count: 60 (37.27%)
Error: No match for error type 'Job', message 'login-action timed out after 873 seconds'
Count: 13 (8.07%)
IDs:
db845c-02:
8405043
db845c-03:
8404401 8405034 8405045 8405323
db845c-04:
8404848 8404873 8405090
db845c-06:
8404403 8404851 8404881
db845c-10:
8404872 8405095
Error: wait for prompt timed out
Count: 25 (15.53%)
IDs:
db845c-02:
8404884 8405051 8405155
db845c-03:
8404405 8404837 8404892
db845c-04:
8404885 8405048
db845c-05:
8404409 8404847 8404880 8405032 8405047
8405096
db845c-06:
8404399 8404410 8404891
db845c-09:
8404404 8405035 8405046 8405091 8405213
db845c-10:
8404406 8405027 8405053
Error: No match for error type 'Job', message 'login-action timed out after 872 seconds'
Count: 10 (6.21%)
IDs:
db845c-03:
8405093
db845c-04:
8404843 8405094
db845c-05:
8404840 8404850 8405025 8405036
db845c-09:
8404411
db845c-10:
8404895 8405037
Error: No match for error type 'Job', message 'login-action timed out after 869 seconds'
Count: 1 (0.62%)
IDs:
db845c-03:
8405088
Error: No match for error type 'Job', message 'login-action timed out after 870 seconds'
Count: 3 (1.86%)
IDs:
db845c-05:
8405042 8405052
db845c-09:
8404844
Error: No match for error type 'Job', message 'login-action timed out after 772 seconds'
Count: 1 (0.62%)
IDs:
db845c-03:
8405049
Error: No match for error type 'Job', message 'login-action timed out after 868 seconds'
Count: 2 (1.24%)
IDs:
db845c-03:
8405038
db845c-09:
8404839
Error: No match for error type 'Job', message 'login-action timed out after 871 seconds'
Count: 3 (1.86%)
IDs:
db845c-04:
8404402
db845c-09:
8404849
db845c-10:
8405033
Error: No match for error type 'Job', message 'login-action timed out after 849 seconds'
Count: 1 (0.62%)
IDs:
db845c-03:
8405028
Error: No match for error type 'Job', message 'login-action timed out after 845 seconds'
Count: 1 (0.62%)
IDs:
db845c-10:
8404883
Device type: x86
Total jobs: 1
Total errors: 0 (0.00%)
Device type: sm8550-hdk
Total jobs: 7
Total errors: 2 (28.57%)
Error type: Test
Error count: 2 (28.57%)
Error: No match for error type 'Test', message 'tradefed - adb device lost[124d1c34]'
Count: 1 (14.29%)
IDs:
sm8550-hdk-01:
8405010
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 1 (14.29%)
IDs:
sm8550-hdk-01:
8404966
Device type: qrb5165-rb5
Total jobs: 22
Total errors: 12 (54.55%)
Error type: Test
Error count: 8 (36.36%)
Error: Device NOT found!
Count: 1 (4.55%)
IDs:
rb5-03:
8405005
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 597 seconds'
Count: 2 (9.09%)
IDs:
rb5-03:
8404983
rb5-06:
8404852
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 595 seconds'
Count: 1 (4.55%)
IDs:
rb5-01:
8404981
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 2 (9.09%)
IDs:
rb5-03:
8404962
rb5-07:
8404866
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 590 seconds'
Count: 1 (4.55%)
IDs:
rb5-01:
8404961
Error: No match for error type 'Test', message 'tradefed - adb device lost[74d67c95]'
Count: 1 (4.55%)
IDs:
rb5-03:
8404894
Error type: Bug
Error count: 1 (4.55%)
Error: No match for error type 'Bug', message 'Failed to share device '/dev/bus/usb/002/126' to docker container lava-8404979-5.4-9f21aa68-0dfd-4f2a-b863-9406fdbd3e7a'
Count: 1 (4.55%)
IDs:
rb5-01:
8404979
Error type: Infrastructure
Error count: 3 (13.64%)
Error: Connection closed
Count: 3 (13.64%)
IDs:
rb5-01:
8404856 8404876 8404963
Device type: hi960-hikey
Total jobs: 7
Total errors: 3 (42.86%)
Error type: Test
Error count: 3 (42.86%)
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 3 (42.86%)
IDs:
hi960-hikey-04:
8404211 8404869 8404896