Skip to content

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

Closed
@nico-abram

Description

@nico-abram
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.

Activity

hellow554

hellow554 commented on Aug 25, 2019

@hellow554
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

mati865 commented on Aug 25, 2019

@mati865
Member

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?

added
C-bugCategory: This is a bug.
T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.
T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
on Sep 16, 2019
added
E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
on Dec 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @hellow554@mati865@estebank@joelpalmer@nico-abram

        Issue actions

          ICE trying to run cargo clippy on hello world lib.rs · Issue #63876 · rust-lang/rust