Source: rust-async-stream Version: 0.3.3-1 Severity: serious Control: tags -1 bookworm-ignore User: debian...@lists.debian.org Usertags: regression
Dear maintainer(s),Your package has an autopkgtest, great. However, it fails since December 2022. 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. [Release Team member hat on] Because we're currently in the hard freeze for bookworm, I have marked this bug as bookworm-ignore. Targeted fixes are still welcome.
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/data/autopkgtest/testing/amd64/r/rust-async-stream/32102899/log.gz test tests/ui/yield_in_async.rs ... mismatch EXPECTED: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ error[E0658]: yield syntax is experimental --> tests/ui/yield_in_async.rs:6:13 | 6 | yield 123; | ^^^^^^^^^ |= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
error[E0727]: `async` generators are not yet supported --> tests/ui/yield_in_async.rs:6:13 | 6 | yield 123; | ^^^^^^^^^error[E0271]: type mismatch resolving `<[static generator@$DIR/src/lib.rs:201:9: 201:67] as Generator<ResumeTy>>::Yield == ()`
--> tests/ui/yield_in_async.rs:4:5 | 4 | / stream! { 5 | | let f = async { 6 | | yield 123; 7 | | }; 8 | | 9 | | let v = f.await; 10 | | }; | |_____^ expected `()`, found integer | note: required by a bound in `from_generator` --> $RUST/core/src/future/mod.rs | | T: Generator<ResumeTy, Yield = ()>,| ^^^^^^^^^^ required by this bound in `from_generator` = note: this error originates in the macro `stream` (in Nightly builds, run with -Z macro-backtrace for more info)
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ ACTUAL OUTPUT: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ error[E0658]: yield syntax is experimental --> tests/ui/yield_in_async.rs:6:13 | 6 | yield 123; | ^^^^^^^^^ |= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
error[E0727]: `async` generators are not yet supported --> tests/ui/yield_in_async.rs:6:13 | 6 | yield 123; | ^^^^^^^^^error[E0271]: type mismatch resolving `<[static generator@$DIR/src/lib.rs:201:9: 201:67] as Generator<ResumeTy>>::Yield == ()`
--> tests/ui/yield_in_async.rs:4:5 | 4 | / stream! { 5 | | let f = async { 6 | | yield 123; 7 | | }; 8 | | 9 | | let v = f.await; 10 | | }; | |_____^ expected `()`, found integer | note: required by a bound in `std::future::from_generator`= note: this error originates in the macro `stream` (in Nightly builds, run with -Z macro-backtrace for more info)
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈note: If the actual output is the correct output you can bless it by rerunning
your test with the environment variable TRYBUILD=overwrite test tests/ui/yield_in_closure.rs ... mismatch EXPECTED: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ error[E0658]: yield syntax is experimental --> tests/ui/yield_in_closure.rs:7:17 | 7 | yield v; | ^^^^^^^ |= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
error[E0277]: expected a `FnOnce<(&str,)>` closure, found `[generator@$DIR/src/lib.rs:201:9: 201:67]`
--> tests/ui/yield_in_closure.rs:6:14 | 6 | .and_then(|v| {| ^^^^^^^^ expected an `FnOnce<(&str,)>` closure, found `[generator@$DIR/src/lib.rs:201:9: 201:67]`
|= help: the trait `FnOnce<(&str,)>` is not implemented for `[generator@$DIR/src/lib.rs:201:9: 201:67]`
note: required by a bound in `Result::<T, E>::and_then` --> $RUST/core/src/result.rs || pub fn and_then<U, F: FnOnce(T) -> Result<U, E>>(self, op: F) -> Result<U, E> { | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Result::<T, E>::and_then`
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ ACTUAL OUTPUT: ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ error[E0658]: yield syntax is experimental --> tests/ui/yield_in_closure.rs:7:17 | 7 | yield v; | ^^^^^^^ |= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
error[E0277]: expected a `FnOnce<(&str,)>` closure, found `[generator@$DIR/src/lib.rs:201:9: 201:67]`
--> tests/ui/yield_in_closure.rs:6:14 | 6 | .and_then(|v| {| ^^^^^^^^ expected an `FnOnce<(&str,)>` closure, found `[generator@$DIR/src/lib.rs:201:9: 201:67]`
|= help: the trait `FnOnce<(&str,)>` is not implemented for `[generator@$DIR/src/lib.rs:201:9: 201:67]`
note: required by a bound in `Result::<T, E>::and_then` ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈note: If the actual output is the correct output you can bless it by rerunning
your test with the environment variable TRYBUILD=overwrite test tests/ui/yield_in_nested_fn.rs ... ok test test ... FAILED failures: ---- test stdout ----thread 'test' panicked at '2 of 4 tests failed', /usr/share/cargo/registry/trybuild-1.0.76/src/run.rs:101:13
stack backtrace: 0: rust_begin_unwind at /usr/src/rustc-1.63.0/library/std/src/panicking.rs:584:5 1: core::panicking::panic_fmt at /usr/src/rustc-1.63.0/library/core/src/panicking.rs:142:14 2: trybuild::run::<impl trybuild::Runner>::run at /usr/share/cargo/registry/trybuild-1.0.76/src/run.rs:101:13 3: <trybuild::TestCases as core::ops::drop::Drop>::drop at /usr/share/cargo/registry/trybuild-1.0.76/src/lib.rs:313:13 4: core::ptr::drop_in_place<trybuild::TestCases> at /usr/src/rustc-1.63.0/library/core/src/ptr/mod.rs:487:1 5: stream::test at ./tests/stream.rs:237:1 6: stream::test::{{closure}} at ./tests/stream.rs:234:1 7: core::ops::function::FnOnce::call_onceat /usr/src/rustc-1.63.0/library/core/src/ops/function.rs:248:5
8: core::ops::function::FnOnce::call_onceat /usr/src/rustc-1.63.0/library/core/src/ops/function.rs:248:5 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
failures: testtest result: FAILED. 13 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 11.44s
OpenPGP_signature
Description: OpenPGP digital signature