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

could not compiler winapi #3505

Closed
woodgear opened this issue Dec 7, 2018 · 3 comments
Closed

could not compiler winapi #3505

woodgear opened this issue Dec 7, 2018 · 3 comments

Comments

@woodgear
Copy link

woodgear commented Dec 7, 2018

cargo clippy -V
clippy 0.0.212 (29bf75c 2018-12-05)

error

$ cargo clippy --verbose
    Checking winapi v0.3.6
     Running `C:\Users\developer\.rustup\toolchains\nightly-i686-pc-windows-msvc\bin\clippy-driver.exe rustc --crate-name winapi 'C:\Users\developer\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-0.3.6\src\lib.rs' --color always --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=2171991fceccb3fc -C extra-filename=-2171991fceccb3fc --out-dir 'C:\Users\developer\Desktop\test_clippy\target\debug\deps' -L 'dependency=C:\Users\developer\Desktop\test_clippy\target\debug\deps' --cap-lints allow`
error: Could not compile `winapi`.

Caused by:
  process didn't exit successfully: `C:\Users\developer\.rustup\toolchains\nightly-i686-pc-windows-msvc\bin\clippy-driver.exe rustc --crate-name winapi 'C:\Users\developer\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-0.3.6\src\lib.rs' --color always --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=2171991fceccb3fc -C extra-filename=-2171991fceccb3fc --out-dir 'C:\Users\developer\Desktop\test_clippy\target\debug\deps' -L 'dependency=C:\Users\developer\Desktop\test_clippy\target\debug\deps' --cap-lints allow`(exit code: 3221225477)

[package]
name = "test_clippy"
version = "0.1.0"
edition = "2018"

[dependencies]
winapi = "0.3.6"
use winapi::*;
fn main() {
    println!("Hello, world!");
}
@matthiaskrgr
Copy link
Member

This looks weird...
Does cargo check work on the package?

@mati865
Copy link
Contributor

mati865 commented Dec 7, 2018

Duplicate of #2310 or #3202
Possibly related #3345

@phansch
Copy link
Member

phansch commented Dec 11, 2018

Closing as duplicate.

@phansch phansch closed this as completed Dec 11, 2018
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