Closed tom-schaek closed 2 years ago
Changed librespot to 0.4.1 and now it finished without errors. But DownOnSpot doesn't seem to get compiled.
(Sorry, didn't mean to close)
Finished release [optimized] target(s) in 2m 23s
DownOnSpot % down_on_spot.exe
zsh: command not found: down_on_spot.exe
Got it working by going into /target/release/ and running:
./down_on_spot
Describe the bug 7 errors trying to build the application with cargo build --release
To Reproduce Steps to reproduce the behavior:
cargo build --release
u64
, found&std::path::Path
note: tuple variant defined here
std::option::Option<_>
unexpected~~~~~~~~~~~~bool
unexpected~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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 errorsExpected behavior Expected DownOnSpot.exe to be compiled
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Using: cargo --version
cargo 1.64.0-nightly (c0bbd42ce 2022-07-03)
Added librespot = "0.3.1" in the Cargo.toml file