-
-
Notifications
You must be signed in to change notification settings - Fork 162
Closed
Labels
S-bugSeverity: bugSeverity: bug
Description
What crate(s) in this repo are involved in the problem?
console-subscriber
What is the issue?
with this in my Cargo.toml
tokio = { version = "=1.17.0", features = ["tracing"] }
console-subscriber = "=0.1.8"
and tokio_unstable
in my RUSTFLAGS
Something refuses to build (even after cargo clean
), with this error:
error[E0599]: no method named `unwrap` found for struct `tokio::task::JoinHandle` in the current scope
--> /home/arif/.cargo/registry/src/github.com-1ecc6299db9ec823/console-subscriber-0.1.8/src/lib.rs:1066:64
|
1066 | return tokio::task::Builder::new().name(_name).spawn(task).unwrap();
| ^^^^^^ method not found in `tokio::task::JoinHandle<T>`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `console-subscriber` due to previous error
This was resolved when i bumped tokio
to =1.21.2
This is what the documentation says:
How can the bug be reproduced?
.
Logs, error output, etc
.
Versions
.
Possible solution
.
Additional context
.
Would you like to work on fixing this bug?
maybe
Metadata
Metadata
Assignees
Labels
S-bugSeverity: bugSeverity: bug