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

ICE trying to run cargo clippy on hello world lib.rs #63876

Closed
nico-abram opened this issue Aug 25, 2019 · 2 comments
Closed

ICE trying to run cargo clippy on hello world lib.rs #63876

nico-abram opened this issue Aug 25, 2019 · 2 comments
Labels
C-bug Category: This is a bug. E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-cargo Relevant to the cargo team, which will review and decide on the PR/issue. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@nico-abram
Copy link
Contributor

I just tried running cargo clippy on the exercism rust track hello world (https://exercism.io)
I tried this code:

Here are the contents of the folder I'm trying to run it on: https://github.com/nico-abram/rust_test_exercism

I expected to see this happen: Clippy.

Instead, this happened: https://i.imgur.com/VFsT3ig.png . Backtrace: https://i.imgur.com/DYxGBaU.png . Log: https://github.com/nico-abram/rust_test_exercism/blob/master/error.log

Meta

rustc --version --verbose:
rustc 1.38.0-nightly (60960a2 2019-08-12)
binary: rustc
commit-hash: 60960a2
commit-date: 2019-08-12
host: x86_64-pc-windows-msvc
release: 1.38.0-nightly
LLVM version: 9.0

Backtrace: https://github.com/nico-abram/rust_test_exercism/blob/master/error.log

I'm on windows 7 64 bit.

@hellow554
Copy link
Contributor

Could you please put the baktrace and error message as text here, instead of an image, use a three backticks block to format the text block, like this:

```
your error reporting message
goes here
all along
```

@mati865
Copy link
Contributor

mati865 commented Aug 25, 2019

I suppose it's the same underlying issue as in #62717
There is no nightly with Clippy and this fix yet.

EDIT:
I mislooked packages availability info.
@nico-abram this issues should be resolved with more recent nightly builds, could you update and test again?

@joelpalmer joelpalmer added C-bug Category: This is a bug. T-cargo Relevant to the cargo team, which will review and decide on the PR/issue. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ labels Sep 16, 2019
@estebank estebank added the E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example label Dec 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-cargo Relevant to the cargo team, which will review and decide on the PR/issue. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants