You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
steps to reproduce the issue
just run cargo test --all-features -p tokio
errors
error[E0432]: unresolved import `super::task::Task`
--> /home/gftea/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-util-0.3.21/src/stream/futures_unordered/iter.rs:1:5
|
1 | use super::task::Task;
| ^^^^^^^^^^^^^^^^^ no `Task` in `stream::futures_unordered::task`
error[E0432]: unresolved import `self::task::Task`
--> /home/gftea/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-util-0.3.21/src/stream/futures_unordered/mod.rs:28:5
|
28 | use self::task::Task;
| ^^^^^^^^^^^^^^^^ no `Task` in `stream::futures_unordered::task`
error[E0432]: unresolved import `super::task::Task`
--> /home/gftea/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-util-0.3.21/src/stream/futures_unordered/ready_to_run_queue.rs:9:5
|
9 | use super::task::Task;
| ^^^^^^^^^^^^^^^^^ no `Task` in `stream::futures_unordered::task`
error[E0392]: parameter `Fut` is never used
--> /home/gftea/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-util-0.3.21/src/stream/futures_unordered/ready_to_run_queue.rs:11:25
|
11 | pub(super) enum Dequeue<Fut> {
| ^^^ unused parameter
|
= help: consider removing `Fut`, referring to it in a field, or using a marker such as `PhantomData`
= help: if you intended `Fut` to be a const parameter, use `const Fut: usize` instead
error[E0392]: parameter `Fut` is never used
--> /home/gftea/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-util-0.3.21/src/stream/futures_unordered/ready_to_run_queue.rs:17:35
|
17 | pub(super) struct ReadyToRunQueue<Fut> {
| ^^^ unused parameter
|
= help: consider removing `Fut`, referring to it in a field, or using a marker such as `PhantomData`
= help: if you intended `Fut` to be a const parameter, use `const Fut: usize` instead
error[E0392]: parameter `Fut` is never used
--> /home/gftea/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-util-0.3.21/src/stream/futures_unordered/mod.rs:54:29
|
54 | pub struct FuturesUnordered<Fut> {
| ^^^ unused parameter
|
= help: consider removing `Fut`, referring to it in a field, or using a marker such as `PhantomData`
= help: if you intended `Fut` to be a const parameter, use `const Fut: usize` instead
error[E0392]: parameter `Fut` is never used
--> /home/gftea/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-util-0.3.21/src/stream/stream/for_each_concurrent.rs:14:38
|
14 | pub struct ForEachConcurrent<St, Fut, F> {
| ^^^ unused parameter
|
= help: consider removing `Fut`, referring to it in a field, or using a marker such as `PhantomData`
= help: if you intended `Fut` to be a const parameter, use `const Fut: usize` instead
error[E0392]: parameter `Fut` is never used
--> /home/gftea/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-util-0.3.21/src/stream/try_stream/try_for_each_concurrent.rs:16:41
|
16 | pub struct TryForEachConcurrent<St, Fut, F> {
| ^^^ unused parameter
|
= help: consider removing `Fut`, referring to it in a field, or using a marker such as `PhantomData`
= help: if you intended `Fut` to be a const parameter, use `const Fut: usize` instead
error[E0392]: parameter `Fut` is never used
--> /home/gftea/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-util-0.3.21/src/stream/futures_unordered/iter.rs:21:27
|
21 | pub struct IterPinRef<'a, Fut> {
| ^^^ unused parameter
|
= help: consider removing `Fut`, referring to it in a field, or using a marker such as `PhantomData`
= help: if you intended `Fut` to be a const parameter, use `const Fut: usize` instead
error[E0392]: parameter `Fut` is never used
--> /home/gftea/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-util-0.3.21/src/stream/futures_unordered/iter.rs:30:21
|
30 | pub struct Iter<'a, Fut: Unpin>(pub(super) IterPinRef<'a, Fut>);
| ^^^ unused parameter
|
= help: consider removing `Fut`, referring to it in a field, or using a marker such as `PhantomData`
error[E0392]: parameter `Fut` is never used
--> /home/gftea/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-util-0.3.21/src/stream/futures_unordered/iter.rs:34:21
|
34 | pub struct IntoIter<Fut: Unpin> {
| ^^^ unused parameter
|
= help: consider removing `Fut`, referring to it in a field, or using a marker such as `PhantomData`
error[E0392]: parameter `St` is never used
--> /home/gftea/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-util-0.3.21/src/stream/select_all.rs:30:26
|
30 | pub struct SelectAll<St> {
| ^^ unused parameter
|
= help: consider removing `St`, referring to it in a field, or using a marker such as `PhantomData`
= help: if you intended `St` to be a const parameter, use `const St: usize` instead
error[E0392]: parameter `St` is never used
--> /home/gftea/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-util-0.3.21/src/stream/select_all.rs:192:21
|
192 | pub struct Iter<'a, St: Unpin>(futures_unordered::Iter<'a, StreamFuture<St>>);
| ^^ unused parameter
|
= help: consider removing `St`, referring to it in a field, or using a marker such as `PhantomData`
error[E0392]: parameter `St` is never used
--> /home/gftea/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-util-0.3.21/src/stream/select_all.rs:200:21
|
200 | pub struct IntoIter<St: Unpin>(futures_unordered::IntoIter<StreamFuture<St>>);
| ^^ unused parameter
|
= help: consider removing `St`, referring to it in a field, or using a marker such as `PhantomData`
Some errors have detailed explanations: E0392, E0432.
For more information about an error, try `rustc --explain E0392`.
error: could not compile `futures-util` due to 14 previous errors
The text was updated successfully, but these errors were encountered:
Version
Platform
Linux E-CND1488614 5.10.102.1-microsoft-standard-WSL2 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Description
rustc version
stable-x86_64-unknown-linux-gnu unchanged - rustc 1.61.0 (fe5b13d68 2022-05-18)
fork repo
https://github.com/gftea/tokio?organization=gftea&organization=gftea
steps to reproduce the issue
just run
cargo test --all-features -p tokio
errors
The text was updated successfully, but these errors were encountered: