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

Error on running command #4

Closed
ajithshetty2383 opened this issue Jun 11, 2017 · 8 comments
Closed

Error on running command #4

ajithshetty2383 opened this issue Jun 11, 2017 · 8 comments

Comments

@ajithshetty2383
Copy link

Hi,

I see below error. Didnt find any solution useful on google to resolve this..

ajith@ashetty:~/Desktop/bingrep-master$ cargo build --release --verbose
Updating registry https://github.com/rust-lang/crates.io-index
Updating git repository https://github.com/m4b/goblin
failed to parse registry's information for: colored

Caused by:
the given version requirement is invalid

@m4b
Copy link
Owner

m4b commented Jun 11, 2017

@ajithshetty2383 Thanks for the report!

What rustc version are you on? Also are you using rustup, or distro rustc?

@ajithshetty2383
Copy link
Author

version : rustc 1.7.0 on ubuntu 16.04 distro

@m4b
Copy link
Owner

m4b commented Jun 11, 2017

Ah, ok, I should post this, it will require rustc version 1.15 iirc. Have you tried rustup?

http://rustup.rs

You can easily switch compiler versions, get the latest, etc. a simple rustup default stable and then rustc --version should show latest stable, which is 1.18

I also emoved the git dependency on the binary parser gobln, but I don't think this was the problem

@ajithshetty2383
Copy link
Author

I'm see 'rustup default stable' running successfully. But it doesn't affect the version..

ajith@ashetty:~/bingrep/bingrep$ rustup default stable
info: using existing install for 'stable-x86_64-unknown-linux-gnu'
info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'

stable-x86_64-unknown-linux-gnu unchanged - rustc 1.18.0 (03fc9d622 2017-06-06)

ajith@ashetty:~/bingrep/bingrep$ rustc --version
rustc 1.7.0

@m4b
Copy link
Owner

m4b commented Jun 11, 2017

Ah, you need to add $(HOME)/.cargo/bin to your $PATH, and that should set you on your way :)

@ajithshetty2383
Copy link
Author

Oh..yes. silly me. its working. Thank you!
Thanks for the tool too...

@m4b
Copy link
Owner

m4b commented Jun 11, 2017

NP and have fun :D

@m4b
Copy link
Owner

m4b commented Jun 22, 2017

I believe this is resolved, thanks for the issue :)

@m4b m4b closed this as completed Jun 22, 2017
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

2 participants