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
If using the unstable features with only the process and rt features enabled, tokio will fail to compile:
noah@resf-attack-drone ‹ master ●●● › : ~/CLionProjects/smoke
[0] % cargo check
Checking tokio v1.18.2
error[E0432]: unresolved import `crate::runtime::IoDriverMetrics`
--> /home/noah/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/io/driver/metrics.rs:20:24
|
20 | pub(crate) use crate::runtime::IoDriverMetrics;
| ^^^^^^^^^^^^^^^^---------------
| | |
| | help: a similar name exists in the module: `WorkerMetrics`
| no `IoDriverMetrics` in `runtime`
error[E0282]: type annotations needed
--> /home/noah/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/io/driver/mod.rs:303:18
|
303 | self.inner().map(|inner| f(&inner.metrics))
| ^^^^^ cannot infer type
|
= note: type must be known at this point
error[E0599]: no method named `inner` found for reference `&io::driver::Handle` in the current scope
--> /home/noah/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/io/driver/mod.rs:303:18
|
303 | self.inner().map(|inner| f(&inner.metrics))
| ^^^^^-- help: remove the arguments
| |
| field, not a method
Some errors have detailed explanations: E0282, E0432, E0599.
For more information about an error, try `rustc --explain E0282`.
error: could not compile `tokio` due to 3 previous errors
If using the unstable features with only the
process
andrt
features enabled, tokio will fail to compile:I ran a bisect and found it was introduced here:
Compilation is only successful with the
net
feature.The text was updated successfully, but these errors were encountered: