[Pkg-rust-maintainers] Bug#1077865: rust-impl-trait-for-tuples: autopkgtest regression: thread 'fail' panicked at /usr/share/cargo/registry/trybuild-1.0.91/src/run.rs:101:13:

Paul Gevers elbrus at debian.org
Sat Aug 3 16:34:56 BST 2024


Source: rust-impl-trait-for-tuples
Version: 0.2.2-1
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails since around 
mid June 2024. Can you please investigate the situation and fix it? I 
copied some of the output at the bottom of this report.

The release team has announced [1] that failing autopkgtest on amd64 and 
arm64 are considered RC in testing.

More information about this bug and the reason for filing it can be 
found on 
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html

https://ci.debian.net/packages/r/rust-impl-trait-for-tuples/testing/amd64/49859746/

  97s running 1 test
  97s      Locking 6 packages to latest compatible versions
  97s       Adding syn v1.0.109 (latest: v2.0.68)
  97s    Compiling proc-macro2 v1.0.85
  97s    Compiling syn v1.0.109
  97s    Compiling unicode-ident v1.0.12
  98s     Checking quote v1.0.36
103s    Compiling impl-trait-for-tuples v0.2.2 
(/usr/share/cargo/registry/impl-trait-for-tuples-0.2.2)
106s     Checking impl-trait-for-tuples-tests v0.0.0 
(/tmp/tmp.vh5cL6OSce/target/tests/trybuild/impl-trait-for-tuples)
106s     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.87s
106s
106s
106s test tests/fail/custom_trait_bound_invalid.rs ... mismatch
106s
106s EXPECTED:
106s ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
106s error: Invalid trait bound: unexpected token
106s   --> tests/fail/custom_trait_bound_invalid.rs:14:40
106s    |
106s 14 | #[tuple_types_custom_trait_bound(Custom, Clone)]
106s    |                                        ^
106s
106s error[E0277]: the trait bound `(Impl, Impl): Test` is not satisfied
106s   --> tests/fail/custom_trait_bound_invalid.rs:32:12
106s    |
106s 32 |     test::<(Impl, Impl)>();
106s    |            ^^^^^^^^^^^^ the trait `Test` is not implemented 
for `(Impl, Impl)`
106s    |
106s note: required by a bound in `test`
106s   --> tests/fail/custom_trait_bound_invalid.rs:30:12
106s    |
106s 30 | fn test<T: Test>() {}
106s    |            ^^^^ required by this bound in `test`
106s
106s error[E0277]: the trait bound `(Impl, Impl, Impl): Test` is not 
satisfied
106s   --> tests/fail/custom_trait_bound_invalid.rs:33:12
106s    |
106s 33 |     test::<(Impl, Impl, Impl)>();
106s    |            ^^^^^^^^^^^^^^^^^^ the trait `Test` is not 
implemented for `(Impl, Impl, Impl)`
106s    |
106s note: required by a bound in `test`
106s   --> tests/fail/custom_trait_bound_invalid.rs:30:12
106s    |
106s 30 | fn test<T: Test>() {}
106s    |            ^^^^ required by this bound in `test`
106s ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
106s
106s ACTUAL OUTPUT:
106s ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
106s error: Invalid trait bound: unexpected token
106s   --> tests/fail/custom_trait_bound_invalid.rs:14:40
106s    |
106s 14 | #[tuple_types_custom_trait_bound(Custom, Clone)]
106s    |                                        ^
106s
106s error[E0277]: the trait bound `(Impl, Impl): Test` is not satisfied
106s   --> tests/fail/custom_trait_bound_invalid.rs:32:12
106s    |
106s 32 |     test::<(Impl, Impl)>();
106s    |            ^^^^^^^^^^^^ the trait `Test` is not implemented 
for `(Impl, Impl)`
106s    |
106s help: this trait has no implementations, consider adding one
106s   --> tests/fail/custom_trait_bound_invalid.rs:1:1
106s    |
106s 1  | trait Test {
106s    | ^^^^^^^^^^
106s note: required by a bound in `test`
106s   --> tests/fail/custom_trait_bound_invalid.rs:30:12
106s    |
106s 30 | fn test<T: Test>() {}
106s    |            ^^^^ required by this bound in `test`
106s
106s error[E0277]: the trait bound `(Impl, Impl, Impl): Test` is not 
satisfied
106s   --> tests/fail/custom_trait_bound_invalid.rs:33:12
106s    |
106s 33 |     test::<(Impl, Impl, Impl)>();
106s    |            ^^^^^^^^^^^^^^^^^^ the trait `Test` is not 
implemented for `(Impl, Impl, Impl)`
106s    |
106s help: this trait has no implementations, consider adding one
106s   --> tests/fail/custom_trait_bound_invalid.rs:1:1
106s    |
106s 1  | trait Test {
106s    | ^^^^^^^^^^
106s note: required by a bound in `test`
106s   --> tests/fail/custom_trait_bound_invalid.rs:30:12
106s    |
106s 30 | fn test<T: Test>() {}
106s    |            ^^^^ required by this bound in `test`
106s ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
106s note: If the actual output is the correct output you can bless it 
by rerunning
106s       your test with the environment variable TRYBUILD=overwrite
106s
106s test tests/fail/trait_bound_not_added.rs ... ok
106s test tests/fail/tuple_impls_less_than_minimum_does_not_exists.rs ... ok
106s
106s
106s test fail ... FAILED
106s
106s failures:
106s
106s ---- fail stdout ----
106s thread 'fail' panicked at 
/usr/share/cargo/registry/trybuild-1.0.91/src/run.rs:101:13:
106s 1 of 3 tests failed
106s stack backtrace:
106s    0: rust_begin_unwind
106s              at 
/usr/src/rustc-1.79.0/library/std/src/panicking.rs:652:5
106s    1: core::panicking::panic_fmt
106s              at 
/usr/src/rustc-1.79.0/library/core/src/panicking.rs:72:14
106s    2: trybuild::run::<impl trybuild::Runner>::run
106s              at 
/usr/share/cargo/registry/trybuild-1.0.91/src/run.rs:101:13
106s    3: <trybuild::TestCases as core::ops::drop::Drop>::drop
106s              at 
/usr/share/cargo/registry/trybuild-1.0.91/src/lib.rs:317:13
106s    4: core::ptr::drop_in_place<trybuild::TestCases>
106s              at /usr/src/rustc-1.79.0/library/core/src/ptr/mod.rs:514:1
106s    5: fail::fail
106s              at ./tests/fail.rs:5:1
106s    6: fail::fail::{{closure}}
106s              at ./tests/fail.rs:2:10
106s    7: core::ops::function::FnOnce::call_once
106s              at 
/usr/src/rustc-1.79.0/library/core/src/ops/function.rs:250:5
106s    8: core::ops::function::FnOnce::call_once
106s              at 
/usr/src/rustc-1.79.0/library/core/src/ops/function.rs:250:5
106s note: Some details are omitted, run with `RUST_BACKTRACE=full` for 
a verbose backtrace.
106s
106s
106s failures:
106s     fail
106s
106s test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 
filtered out; finished in 9.27s
106s
106s error: test failed, to rerun pass `--test fail`
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20240803/ac0c3e8c/attachment-0001.sig>


More information about the Pkg-rust-maintainers mailing list