Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error[E0460]: found possibly newer version of crate log which librespot depends on #264

Open
zirkelc opened this issue Nov 3, 2017 · 0 comments

Comments

@zirkelc
Copy link

zirkelc commented Nov 3, 2017

After I cloned and installed librespot on my RPi3 with cargo build, I tried to run the play.rs example with the following command:

pi@raspberrypi:~/librespot/target/release $ rustc play.rs --extern librespot=liblibrespot.rlib && ./excecutable

This results in the following error:

error[E0460]: found possibly newer version of crate 'log' which 'librespot' depends on
--> play.rs:1:1
|
1 | extern crate librespot;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: perhaps that crate needs to be recompiled?
= note: crate 'log' path #1: /home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblog-4df2ac3c730deffe.rlib
= note: crate 'librespot' path #1: /home/pi/librespot/target/release/liblibrespot.rlib

error: aborting due to previous error

I don't really know what the problem is about. According to Cargo.toml, librespot has a dependency to log = "0.3.5", and the newest version is of log = "0.3.8".
Do I need to update this specific crate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant