anatawa12@192:~/IdeaProjects/vrc-get/rust-regression/rust-regresion +(rustc-regression) $ cargo +beta build
Compiling rust-regresion v0.1.0 (/Users/anatawa12/IdeaProjects/vrc-get/rust-regression/rust-regresion)
error[E0275]: overflow evaluating the requirement `{async fn body of CopyFileContext<'_>::process()}: Send`
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`rust_regresion`)
note: required because it appears within the type `impl futures_util::Future<Output = ()>`
--> src/lib.rs:22:17
|
22 | async fn process(&self, entry: &FileSystemTree) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: required because it appears within the type `stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:19:12
|
19 | struct OrderWrapper<T> {
| ^^^^^^^^^^^^
= note: required for `FuturesUnordered<stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>>` to implement `Send`
note: required because it appears within the type `FuturesOrdered<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:99:12
|
99 | pub struct FuturesOrdered<T: Future> {
| ^^^^^^^^^^^^^^
note: required because it appears within the type `Collect<FuturesOrdered<impl futures_util::Future<Output = ()>>, Vec<()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/collect.rs:13:16
|
13 | pub struct Collect<St, C> {
| ^^^^^^^
note: required because it appears within the type `futures_util::future::join_all::JoinAllKind<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:37:6
|
37 | enum JoinAllKind<F>
| ^^^^^^^^^^^
note: required because it appears within the type `JoinAll<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:27:12
|
27 | pub struct JoinAll<F>
| ^^^^^^^
note: required because it's used within this `async` fn body
--> src/lib.rs:22:65
|
22 | async fn process(&self, entry: &FileSystemTree) {
| _________________________________________________________________^
23 | | if entry.is_dir() {
24 | | join_all(entry.iter().map(|x| self.process(x))).await;
25 | | }
26 | | }
| |_________________^
note: required because it appears within the type `stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:19:12
|
19 | struct OrderWrapper<T> {
| ^^^^^^^^^^^^
= note: required for `FuturesUnordered<stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>>` to implement `Send`
note: required because it appears within the type `FuturesOrdered<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:99:12
|
99 | pub struct FuturesOrdered<T: Future> {
| ^^^^^^^^^^^^^^
note: required because it appears within the type `Collect<FuturesOrdered<impl futures_util::Future<Output = ()>>, Vec<()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/collect.rs:13:16
|
13 | pub struct Collect<St, C> {
| ^^^^^^^
note: required because it appears within the type `futures_util::future::join_all::JoinAllKind<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:37:6
|
37 | enum JoinAllKind<F>
| ^^^^^^^^^^^
note: required because it appears within the type `JoinAll<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:27:12
|
27 | pub struct JoinAll<F>
| ^^^^^^^
note: required because it's used within this `async` fn body
--> src/lib.rs:22:65
|
22 | async fn process(&self, entry: &FileSystemTree) {
| _________________________________________________________________^
23 | | if entry.is_dir() {
24 | | join_all(entry.iter().map(|x| self.process(x))).await;
25 | | }
26 | | }
| |_________________^
note: required because it appears within the type `stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:19:12
|
19 | struct OrderWrapper<T> {
| ^^^^^^^^^^^^
= note: required for `FuturesUnordered<stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>>` to implement `Send`
note: required because it appears within the type `FuturesOrdered<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:99:12
|
99 | pub struct FuturesOrdered<T: Future> {
| ^^^^^^^^^^^^^^
note: required because it appears within the type `Collect<FuturesOrdered<impl futures_util::Future<Output = ()>>, Vec<()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/collect.rs:13:16
|
13 | pub struct Collect<St, C> {
| ^^^^^^^
note: required because it appears within the type `futures_util::future::join_all::JoinAllKind<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:37:6
|
37 | enum JoinAllKind<F>
| ^^^^^^^^^^^
note: required because it appears within the type `JoinAll<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:27:12
|
27 | pub struct JoinAll<F>
| ^^^^^^^
note: required because it's used within this `async` fn body
--> src/lib.rs:22:65
|
22 | async fn process(&self, entry: &FileSystemTree) {
| _________________________________________________________________^
23 | | if entry.is_dir() {
24 | | join_all(entry.iter().map(|x| self.process(x))).await;
25 | | }
26 | | }
| |_________________^
note: required because it appears within the type `stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:19:12
|
19 | struct OrderWrapper<T> {
| ^^^^^^^^^^^^
= note: required for `FuturesUnordered<stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>>` to implement `Send`
note: required because it appears within the type `FuturesOrdered<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:99:12
|
99 | pub struct FuturesOrdered<T: Future> {
| ^^^^^^^^^^^^^^
note: required because it appears within the type `Collect<FuturesOrdered<impl futures_util::Future<Output = ()>>, Vec<()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/collect.rs:13:16
|
13 | pub struct Collect<St, C> {
| ^^^^^^^
note: required because it appears within the type `futures_util::future::join_all::JoinAllKind<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:37:6
|
37 | enum JoinAllKind<F>
| ^^^^^^^^^^^
note: required because it appears within the type `JoinAll<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:27:12
|
27 | pub struct JoinAll<F>
| ^^^^^^^
note: required because it's used within this `async` fn body
--> src/lib.rs:22:65
|
22 | async fn process(&self, entry: &FileSystemTree) {
| _________________________________________________________________^
23 | | if entry.is_dir() {
24 | | join_all(entry.iter().map(|x| self.process(x))).await;
25 | | }
26 | | }
| |_________________^
note: required because it appears within the type `stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:19:12
|
19 | struct OrderWrapper<T> {
| ^^^^^^^^^^^^
= note: required for `FuturesUnordered<stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>>` to implement `Send`
note: required because it appears within the type `FuturesOrdered<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:99:12
|
99 | pub struct FuturesOrdered<T: Future> {
| ^^^^^^^^^^^^^^
note: required because it appears within the type `Collect<FuturesOrdered<impl futures_util::Future<Output = ()>>, Vec<()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/collect.rs:13:16
|
13 | pub struct Collect<St, C> {
| ^^^^^^^
note: required because it appears within the type `futures_util::future::join_all::JoinAllKind<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:37:6
|
37 | enum JoinAllKind<F>
| ^^^^^^^^^^^
note: required because it appears within the type `JoinAll<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:27:12
|
27 | pub struct JoinAll<F>
| ^^^^^^^
note: required because it's used within this `async` fn body
--> src/lib.rs:22:65
|
22 | async fn process(&self, entry: &FileSystemTree) {
| _________________________________________________________________^
23 | | if entry.is_dir() {
24 | | join_all(entry.iter().map(|x| self.process(x))).await;
25 | | }
26 | | }
| |_________________^
note: required because it appears within the type `stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:19:12
|
19 | struct OrderWrapper<T> {
| ^^^^^^^^^^^^
= note: required for `FuturesUnordered<stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>>` to implement `Send`
note: required because it appears within the type `FuturesOrdered<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:99:12
|
99 | pub struct FuturesOrdered<T: Future> {
| ^^^^^^^^^^^^^^
note: required because it appears within the type `Collect<FuturesOrdered<impl futures_util::Future<Output = ()>>, Vec<()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/collect.rs:13:16
|
13 | pub struct Collect<St, C> {
| ^^^^^^^
note: required because it appears within the type `futures_util::future::join_all::JoinAllKind<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:37:6
|
37 | enum JoinAllKind<F>
| ^^^^^^^^^^^
note: required because it appears within the type `JoinAll<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:27:12
|
27 | pub struct JoinAll<F>
| ^^^^^^^
note: required because it's used within this `async` fn body
--> src/lib.rs:22:65
|
22 | async fn process(&self, entry: &FileSystemTree) {
| _________________________________________________________________^
23 | | if entry.is_dir() {
24 | | join_all(entry.iter().map(|x| self.process(x))).await;
25 | | }
26 | | }
| |_________________^
note: required because it appears within the type `stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:19:12
|
19 | struct OrderWrapper<T> {
| ^^^^^^^^^^^^
= note: required for `FuturesUnordered<stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>>` to implement `Send`
note: required because it appears within the type `FuturesOrdered<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:99:12
|
99 | pub struct FuturesOrdered<T: Future> {
| ^^^^^^^^^^^^^^
note: required because it appears within the type `Collect<FuturesOrdered<impl futures_util::Future<Output = ()>>, Vec<()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/collect.rs:13:16
|
13 | pub struct Collect<St, C> {
| ^^^^^^^
note: required because it appears within the type `futures_util::future::join_all::JoinAllKind<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:37:6
|
37 | enum JoinAllKind<F>
| ^^^^^^^^^^^
note: required because it appears within the type `JoinAll<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:27:12
|
27 | pub struct JoinAll<F>
| ^^^^^^^
note: required because it's used within this `async` fn body
--> src/lib.rs:22:65
|
22 | async fn process(&self, entry: &FileSystemTree) {
| _________________________________________________________________^
23 | | if entry.is_dir() {
24 | | join_all(entry.iter().map(|x| self.process(x))).await;
25 | | }
26 | | }
| |_________________^
note: required because it appears within the type `stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:19:12
|
19 | struct OrderWrapper<T> {
| ^^^^^^^^^^^^
= note: required for `FuturesUnordered<stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>>` to implement `Send`
note: required because it appears within the type `FuturesOrdered<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:99:12
|
99 | pub struct FuturesOrdered<T: Future> {
| ^^^^^^^^^^^^^^
note: required because it appears within the type `Collect<FuturesOrdered<impl futures_util::Future<Output = ()>>, Vec<()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/collect.rs:13:16
|
13 | pub struct Collect<St, C> {
| ^^^^^^^
note: required because it appears within the type `futures_util::future::join_all::JoinAllKind<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:37:6
|
37 | enum JoinAllKind<F>
| ^^^^^^^^^^^
note: required because it appears within the type `JoinAll<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:27:12
|
27 | pub struct JoinAll<F>
| ^^^^^^^
note: required because it's used within this `async` fn body
--> src/lib.rs:22:65
|
22 | async fn process(&self, entry: &FileSystemTree) {
| _________________________________________________________________^
23 | | if entry.is_dir() {
24 | | join_all(entry.iter().map(|x| self.process(x))).await;
25 | | }
26 | | }
| |_________________^
note: required because it appears within the type `stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:19:12
|
19 | struct OrderWrapper<T> {
| ^^^^^^^^^^^^
= note: required for `FuturesUnordered<stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>>` to implement `Send`
note: required because it appears within the type `FuturesOrdered<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:99:12
|
99 | pub struct FuturesOrdered<T: Future> {
| ^^^^^^^^^^^^^^
note: required because it appears within the type `Collect<FuturesOrdered<impl futures_util::Future<Output = ()>>, Vec<()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/collect.rs:13:16
|
13 | pub struct Collect<St, C> {
| ^^^^^^^
note: required because it appears within the type `futures_util::future::join_all::JoinAllKind<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:37:6
|
37 | enum JoinAllKind<F>
| ^^^^^^^^^^^
note: required because it appears within the type `JoinAll<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:27:12
|
27 | pub struct JoinAll<F>
| ^^^^^^^
note: required because it's used within this `async` fn body
--> src/lib.rs:22:65
|
22 | async fn process(&self, entry: &FileSystemTree) {
| _________________________________________________________________^
23 | | if entry.is_dir() {
24 | | join_all(entry.iter().map(|x| self.process(x))).await;
25 | | }
26 | | }
| |_________________^
note: required because it appears within the type `stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:19:12
|
19 | struct OrderWrapper<T> {
| ^^^^^^^^^^^^
= note: required for `FuturesUnordered<stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>>` to implement `Send`
note: required because it appears within the type `FuturesOrdered<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:99:12
|
99 | pub struct FuturesOrdered<T: Future> {
| ^^^^^^^^^^^^^^
note: required because it appears within the type `Collect<FuturesOrdered<impl futures_util::Future<Output = ()>>, Vec<()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/collect.rs:13:16
|
13 | pub struct Collect<St, C> {
| ^^^^^^^
note: required because it appears within the type `futures_util::future::join_all::JoinAllKind<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:37:6
|
37 | enum JoinAllKind<F>
| ^^^^^^^^^^^
note: required because it appears within the type `JoinAll<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:27:12
|
27 | pub struct JoinAll<F>
| ^^^^^^^
note: required because it's used within this `async` fn body
--> src/lib.rs:22:65
|
22 | async fn process(&self, entry: &FileSystemTree) {
| _________________________________________________________________^
23 | | if entry.is_dir() {
24 | | join_all(entry.iter().map(|x| self.process(x))).await;
25 | | }
26 | | }
| |_________________^
note: required because it appears within the type `stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:19:12
|
19 | struct OrderWrapper<T> {
| ^^^^^^^^^^^^
= note: required for `FuturesUnordered<stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>>` to implement `Send`
note: required because it appears within the type `FuturesOrdered<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:99:12
|
99 | pub struct FuturesOrdered<T: Future> {
| ^^^^^^^^^^^^^^
note: required because it appears within the type `Collect<FuturesOrdered<impl futures_util::Future<Output = ()>>, Vec<()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/collect.rs:13:16
|
13 | pub struct Collect<St, C> {
| ^^^^^^^
note: required because it appears within the type `futures_util::future::join_all::JoinAllKind<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:37:6
|
37 | enum JoinAllKind<F>
| ^^^^^^^^^^^
note: required because it appears within the type `JoinAll<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:27:12
|
27 | pub struct JoinAll<F>
| ^^^^^^^
note: required because it's used within this `async` fn body
--> src/lib.rs:22:65
|
22 | async fn process(&self, entry: &FileSystemTree) {
| _________________________________________________________________^
23 | | if entry.is_dir() {
24 | | join_all(entry.iter().map(|x| self.process(x))).await;
25 | | }
26 | | }
| |_________________^
note: required because it appears within the type `stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:19:12
|
19 | struct OrderWrapper<T> {
| ^^^^^^^^^^^^
= note: required for `FuturesUnordered<stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>>` to implement `Send`
note: required because it appears within the type `FuturesOrdered<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:99:12
|
99 | pub struct FuturesOrdered<T: Future> {
| ^^^^^^^^^^^^^^
note: required because it appears within the type `Collect<FuturesOrdered<impl futures_util::Future<Output = ()>>, Vec<()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/collect.rs:13:16
|
13 | pub struct Collect<St, C> {
| ^^^^^^^
note: required because it appears within the type `futures_util::future::join_all::JoinAllKind<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:37:6
|
37 | enum JoinAllKind<F>
| ^^^^^^^^^^^
note: required because it appears within the type `JoinAll<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:27:12
|
27 | pub struct JoinAll<F>
| ^^^^^^^
note: required because it's used within this `async` fn body
--> src/lib.rs:22:65
|
22 | async fn process(&self, entry: &FileSystemTree) {
| _________________________________________________________________^
23 | | if entry.is_dir() {
24 | | join_all(entry.iter().map(|x| self.process(x))).await;
25 | | }
26 | | }
| |_________________^
note: required because it appears within the type `stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:19:12
|
19 | struct OrderWrapper<T> {
| ^^^^^^^^^^^^
= note: required for `FuturesUnordered<stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>>` to implement `Send`
note: required because it appears within the type `FuturesOrdered<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:99:12
|
99 | pub struct FuturesOrdered<T: Future> {
| ^^^^^^^^^^^^^^
note: required because it appears within the type `Collect<FuturesOrdered<impl futures_util::Future<Output = ()>>, Vec<()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/collect.rs:13:16
|
13 | pub struct Collect<St, C> {
| ^^^^^^^
note: required because it appears within the type `futures_util::future::join_all::JoinAllKind<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:37:6
|
37 | enum JoinAllKind<F>
| ^^^^^^^^^^^
note: required because it appears within the type `JoinAll<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:27:12
|
27 | pub struct JoinAll<F>
| ^^^^^^^
note: required because it's used within this `async` fn body
--> src/lib.rs:22:65
|
22 | async fn process(&self, entry: &FileSystemTree) {
| _________________________________________________________________^
23 | | if entry.is_dir() {
24 | | join_all(entry.iter().map(|x| self.process(x))).await;
25 | | }
26 | | }
| |_________________^
note: required because it appears within the type `stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:19:12
|
19 | struct OrderWrapper<T> {
| ^^^^^^^^^^^^
= note: required for `FuturesUnordered<stream::futures_ordered::OrderWrapper<impl futures_util::Future<Output = ()>>>` to implement `Send`
note: required because it appears within the type `FuturesOrdered<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/futures_ordered.rs:99:12
|
99 | pub struct FuturesOrdered<T: Future> {
| ^^^^^^^^^^^^^^
note: required because it appears within the type `Collect<FuturesOrdered<impl futures_util::Future<Output = ()>>, Vec<()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/collect.rs:13:16
|
13 | pub struct Collect<St, C> {
| ^^^^^^^
note: required because it appears within the type `futures_util::future::join_all::JoinAllKind<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:37:6
|
37 | enum JoinAllKind<F>
| ^^^^^^^^^^^
note: required because it appears within the type `JoinAll<impl futures_util::Future<Output = ()>>`
--> /Users/anatawa12/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/join_all.rs:27:12
|
27 | pub struct JoinAll<F>
| ^^^^^^^
note: required because it's used within this `async` fn body
--> src/lib.rs:22:65
|
22 | async fn process(&self, entry: &FileSystemTree) {
| _________________________________________________________________^
23 | | if entry.is_dir() {
24 | | join_all(entry.iter().map(|x| self.process(x))).await;
25 | | }
26 | | }
| |_________________^
note: required because it's used within this `async` block
--> src/lib.rs:16:32
|
16 | continue_async(move || async move {
| ^^^^^^^^^^
For more information about this error, try `rustc --explain E0275`.
error: could not compile `rust-regresion` (lib) due to 1 previous error
anatawa12@192:~/IdeaProjects/vrc-get/rust-regression/rust-regresion +(rustc-regression) $
Code
I tried to compile this code:
With
futures-util = "0.3.31"as dependenciesI expected to see this happen: No error
Instead, this happened: E0275
I also tried with recursion_limit = 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536 and all failed with same error
Original code is at https://github.com/vrc-get/vrc-get/tree/e89e1340a00ebfb545db5b0330ef293d02f3e8e7/vrc-get-gui Clone the repository and checkout the revision, and building with
cargo buildshould cause the error.Version it worked on
It most recently worked on: Rust 1.89.0 (current stable)
Version with regression
rustc --version --verbose:Compiler output
Compiler's output without recursion_limit set (128)
I found that
JoinAllKindis shown many times so infinity recursion somewhere I thinkOutput
Backtrace
Not a compiler crash
@rustbot modify labels: +regression-from-stable-to-beta -regression-untriaged