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: unable to get packages from source #21

Closed
harishbm34 opened this issue Dec 15, 2018 · 5 comments
Closed

Error: unable to get packages from source #21

harishbm34 opened this issue Dec 15, 2018 · 5 comments

Comments

@harishbm34
Copy link

Trying to build docker image using : alpine-edge

Getting the below error :

Caused by:
failed to parse manifest at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-demangle-0.1.10/Cargo.toml

Caused by:
feature rename-dependency is required

this Cargo does not support nightly features, but if you
switch to nightly channel you can add
cargo-features = ["rename-dependency"] to enable this feature
make[1]: Leaving directory '/go/src/github.com/gallactic/sputnikvm-ffi/c'
make[1]: *** [Makefile:11: build] Error 101
make: *** [Makefile:34: deps] Error 2

@alexcrichton
Copy link
Member

I've published 0.1.11 to fix this

@lacabra
Copy link

lacabra commented Apr 15, 2019

I'm getting this very same issue in version 0.1.14:

error: unable to get packages from source                                                                                                                           

Caused by:
  failed to parse manifest at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-demangle-0.1.14/Cargo.toml`

Caused by:
  feature `rename-dependency` is required

consider adding `cargo-features = ["rename-dependency"]` to the manifest

I am working on a project that requires re-building from sources daily, and it worked fine for months, until 3 days ago when 0.1.14 was released. Is it possible that something broke then?

@alexcrichton
Copy link
Member

This crate now requires rustc 1.31.0+

@lacabra
Copy link

lacabra commented Apr 15, 2019

Thanks @alexcrichton. My version of rust is:

# rustc --version
rustc 1.31.0-nightly (fc403ad98 2018-09-30)

Isn't this enough?

@alexcrichton
Copy link
Member

Given that you're getting an error, I don't think so, you may need a later nightly.

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

3 participants