[Pkg-rust-maintainers] Bug#1103026: rust-bitfields: autopkgtest failure
Adrian Bunk
bunk at debian.org
Sun Apr 13 21:41:53 BST 2025
Source: rust-bitfields
Version: 0.12.4-1
Severity: serious
X-Debbugs-Cc: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
https://tracker.debian.org/pkg/rust-bitfields
Issues preventing migration:
∙ ∙ autopkgtest for rust-bitfields/0.12.4-1: amd64: Regression or new test ♻, arm64: Regression or new test ♻, armel: Regression or new test ♻, armhf: Regression or new test ♻, i386: Regression or new test ♻, ppc64el: Regression or new test ♻, riscv64: Test in progress, s390x: Regression or new test ♻
...
171s EXPECTED:
171s ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
171s error: Custom and nested field types require a defined bit size, otherwise we can't determine the size of the field.
171s --> tests/compile_error_cases/bitfield_field_nested_bitfield_without_defined_bits.rs:7:5
171s |
171s 7 | / #[bits(default = NestedBitfield::new())]
171s 8 | | nested_field: NestedBitfield,
171s | |________________________________^
171s ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
171s
171s ACTUAL OUTPUT:
171s ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
171s error: Custom and nested field types require a defined bit size, otherwise we can't determine the size of the field.
171s --> tests/compile_error_cases/bitfield_field_nested_bitfield_without_defined_bits.rs:7:5
171s |
171s 7 | #[bits(default = NestedBitfield::new())]
171s | ^
171s ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
171s note: If the actual output is the correct output you can bless it by rerunning
171s your test with the environment variable TRYBUILD=overwrite
...
172s autopkgtest [04:00:06]: @@@@@@@@@@@@@@@@@@@@ summary
172s rust-bitfields:@ FAIL non-zero exit status 101
172s librust-bitfields-dev:default FAIL non-zero exit status 101
172s librust-bitfields-dev: FAIL non-zero exit status 101
More information about the Pkg-rust-maintainers
mailing list