= note: expected struct Session
found tuple (_, _)
error[E0599]: no method named unwrap found for struct std::string::String in the current scope
--> src/downloader.rs:507:52
|
507 | info!("{} Using {:?} format.", id.to_base62().unwrap(), format);
| ^^^^^^ method not found in std::string::String
error[E0599]: no method named unwrap found for struct std::string::String in the current scope
--> src/downloader.rs:518:53
|
518 | warn!("{} Falling back to: {:?}", id.to_base62().unwrap(), quality);
| ^^^^^^ method not found in std::string::String
error[E0599]: no method named unwrap found for struct std::string::String in the current scope
--> src/downloader.rs:576:54
|
576 | info!("Done downloading: {}", track.id.to_base62().unwrap());
| ^^^^^^ method not found in std::string::String
Some errors have detailed explanations: E0061, E0308, E0599.
For more information about an error, try rustc --explain E0061.
error: could not compile down_on_spot due to 7 previous errors
`
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: MacOS 11 and Ubuntu 20
Additional context
Add any other context about the problem here.
Describe the bug main does not compile on Ubuntu Or MacOS
To Reproduce Steps to reproduce the behavior:
u64
, found&std::path::Path
note: tuple variant defined here
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Session
, found tupleSession
= note: expected struct
Session
found tuple(_, _)
error[E0599]: no method named
unwrap
found for structstd::string::String
in the current scope --> src/downloader.rs:507:52 | 507 | info!("{} Using {:?} format.", id.to_base62().unwrap(), format); | ^^^^^^ method not found instd::string::String
error[E0599]: no method named
unwrap
found for structstd::string::String
in the current scope --> src/downloader.rs:518:53 | 518 | warn!("{} Falling back to: {:?}", id.to_base62().unwrap(), quality); | ^^^^^^ method not found instd::string::String
error[E0599]: no method named
unwrap
found for structstd::string::String
in the current scope --> src/downloader.rs:576:54 | 576 | info!("Done downloading: {}", track.id.to_base62().unwrap()); | ^^^^^^ method not found instd::string::String
Some errors have detailed explanations: E0061, E0308, E0599. For more information about an error, try
rustc --explain E0061
. error: could not compiledown_on_spot
due to 7 previous errors `Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.