[Pkg-rust-maintainers] Bug#1120503: Autopkgtests fail: data did not match any variant of untagged enum EitherInterval
Andrey Rakhmatullin
wrar at debian.org
Tue Nov 11 09:07:41 GMT 2025
Package: librust-version-ranges-dev
Version: 0.1.1-1
Severity: serious
E.g. https://ci.debian.net/packages/r/rust-version-
ranges/testing/amd64/66135391/ and reproducible locally. On a first glance the
failing test is tests::serde_round_trip:
thread 'tests::serde_round_trip' panicked at src/lib.rs:1211:43:
called `Result::unwrap()` on an `Err` value: Error { code: Message("data did
not match any variant of untagged enum EitherInterval"), position: Position {
line: 0, col: 0 } }
stack backtrace:
0: __rustc::rust_begin_unwind
at /usr/src/rustc-1.90.0/library/std/src/panicking.rs:697:5
1: core::panicking::panic_fmt
at /usr/src/rustc-1.90.0/library/core/src/panicking.rs:75:14
2: core::result::unwrap_failed
at /usr/src/rustc-1.90.0/library/core/src/result.rs:1765:5
3: core::result::Result<T,E>::unwrap
at /usr/src/rustc-1.90.0/library/core/src/result.rs:1167:23
4: version_ranges::tests::serde_round_trip::{{closure}}
at ./src/lib.rs:1211:43
5: core::ops::function::impls::<impl core::ops::function::Fn<A> for
&F>::call
at /usr/src/rustc-1.90.0/library/core/src/ops/function.rs:266:22
6: proptest::test_runner::runner::call_test::{{closure}}::{{closure}}
at
/usr/share/cargo/registry/proptest-1.6.0/src/test_runner/runner.rs:258:56
7: <core::panic::unwind_safe::AssertUnwindSafe<F> as
core::ops::function::FnOnce<()>>::call_once
at
/usr/src/rustc-1.90.0/library/core/src/panic/unwind_safe.rs:272:9
8: std::panicking::catch_unwind::do_call
at /usr/src/rustc-1.90.0/library/std/src/panicking.rs:589:40
9: __rust_try
10: std::panicking::catch_unwind
at /usr/src/rustc-1.90.0/library/std/src/panicking.rs:552:19
11: std::panic::catch_unwind
at /usr/src/rustc-1.90.0/library/std/src/panic.rs:359:14
12: proptest::test_runner::runner::call_test::{{closure}}
at
/usr/share/cargo/registry/proptest-1.6.0/src/test_runner/runner.rs:258:16
13: proptest::test_runner::scoped_panic_hook::internal::with_hook
at
/usr/share/cargo/registry/proptest-1.6.0/src/test_runner/scoped_panic_hook.rs:130:9
14: proptest::test_runner::runner::call_test
at
/usr/share/cargo/registry/proptest-1.6.0/src/test_runner/runner.rs:256:9
15: proptest::test_runner::runner::TestRunner::run_one_with_replay
at
/usr/share/cargo/registry/proptest-1.6.0/src/test_runner/runner.rs:728:22
16: proptest::test_runner::runner::TestRunner::gen_and_run_case
at
/usr/share/cargo/registry/proptest-1.6.0/src/test_runner/runner.rs:670:28
17: proptest::test_runner::runner::TestRunner::run_in_process_with_replay
at
/usr/share/cargo/registry/proptest-1.6.0/src/test_runner/runner.rs:619:31
18: proptest::test_runner::runner::TestRunner::run_in_process
at
/usr/share/cargo/registry/proptest-1.6.0/src/test_runner/runner.rs:574:14
19: proptest::test_runner::runner::TestRunner::run
at
/usr/share/cargo/registry/proptest-1.6.0/src/test_runner/runner.rs:417:18
20: version_ranges::tests::serde_round_trip
at /usr/share/cargo/registry/proptest-1.6.0/src/sugar.rs:163:17
21: version_ranges::tests::serde_round_trip::{{closure}}
at /usr/share/cargo/registry/proptest-1.6.0/src/sugar.rs:159:28
22: core::ops::function::FnOnce::call_once
at /usr/src/rustc-1.90.0/library/core/src/ops/function.rs:253:5
23: core::ops::function::FnOnce::call_once
at /usr/src/rustc-1.90.0/library/core/src/ops/function.rs:253:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose
backtrace.
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.16.8+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages librust-version-ranges-dev depends on:
pn librust-proptest-1+default-dev <none>
pn librust-serde-1+default-dev <none>
pn librust-serde-1+derive-dev <none>
pn librust-smallvec-1+default-dev <none>
pn librust-smallvec-1+serde-dev <none>
pn librust-smallvec-1+union-dev <none>
librust-version-ranges-dev recommends no packages.
librust-version-ranges-dev suggests no packages.
More information about the Pkg-rust-maintainers
mailing list