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 Fails #66

Closed
Kolano opened this issue Feb 6, 2019 · 8 comments
Closed

Compilation Fails #66

Kolano opened this issue Feb 6, 2019 · 8 comments

Comments

@Kolano
Copy link

Kolano commented Feb 6, 2019

I'm unable to install cargo-vendor apparently due to problems with im-rd. Something to do with "clippy::should_implement_trait" seemingly referencing: rust-lang/rust#44690

cargo install cargo-vendor
...
error[E0658]: scoped lint `clippy::should_implement_trait` is experimental (see issue #44690)
   --> /home/pass/.cargo/registry/src/github.conef.uk-1ecc6299db9ec823/im-rc-12.3.0/./src/vector/focus.rs:524:13
    |
524 |     #[allow(clippy::should_implement_trait)] // would if I could
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
error: Could not compile `im-rc`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-vendor v0.1.23`, intermediate artifacts can be found at `/tmp/cargo-installTbG18U`
@Kolano
Copy link
Author

Kolano commented Feb 6, 2019

Sorry, related to im-rc not im-rs, er wait, that does link here.

@bolinfest
Copy link

Has anyone figured out how to workaround this issue? I also tried cargo install --all-features cargo-vendor, but I got the same build error (this is even with cargo 1.34.0-nightly (4e74e2fc0 2019-02-02) on Linux).

It would be nice if rust-lang/rust#44690 explained how to suppress this error.

@bolinfest
Copy link

I ended up installing the previous version to workaround the build breakage:

cargo install --version 0.1.22 cargo-vendor

@bodil
Copy link
Owner

bodil commented Feb 8, 2019

The feature mentioned in the error message should have been stabilised several compiler versions ago, and I've just verified that cargo install cargo-vendor works for me on the latest stable and nightly, so I have to ask, are you 100% sure you're running the latest compiler version?

@Kolano
Copy link
Author

Kolano commented Feb 8, 2019

It effects the current package in Ubuntu 18.04.1 and 18.10

https://packages.ubuntu.com/bionic/cargo
https://packages.ubuntu.com/cosmic/cargo

@bodil
Copy link
Owner

bodil commented Feb 21, 2019

I've tried running it through various rustc versions, and the earliest version that works is 1.31.0 (where the 2018 edition was stabilised). Ubuntu Cosmic seems to have 1.30.0.

@bodil
Copy link
Owner

bodil commented Apr 12, 2019

Closing this in the absence of any further info.

@bodil bodil closed this as completed Apr 12, 2019
@utkonos
Copy link

utkonos commented Aug 25, 2019

I'm getting hit by this, and using the older version is a workaround.

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

4 participants