arcnmx / cargo-clippy

cargo clippy
MIT License
68 stars 11 forks source link

cargo-clippy fails with latest nightly #23

Closed klingtnet closed 8 years ago

klingtnet commented 8 years ago
$ cargo clean
$ make clippy
rustup run nightly -- cargo clippy --release -- -Dclippy -Wclippy_pedantic --verbose
   Compiling vec_map v0.6.0
   Compiling approx v0.1.0
   Compiling bitflags v0.5.0
   Compiling unicode-width v0.1.3
   Compiling rb v0.2.0
   Compiling pkg-config v0.3.8
   Compiling strsim v0.4.1
   Compiling num-traits v0.1.32
   Compiling rustc-serialize v0.3.19
   Compiling ansi_term v0.7.2
   Compiling byteorder v0.3.13
   Compiling rsoundio v0.1.5
   Compiling rosc v0.1.3
   Compiling num-integer v0.1.32
   Compiling libc v0.2.10
   Compiling num-iter v0.1.32
   Compiling portmidi v0.2.2
   Compiling rand v0.3.14
   Compiling clap v2.3.0
   Compiling num-complex v0.1.32
   Compiling num-bigint v0.1.32
   Compiling num-rational v0.1.32
   Compiling num v0.1.32
   Compiling rustfft v1.0.1
   Compiling ytterbium v0.1.0 (file:///home/andreas/personal/edu/Uni-Leipzig/Masterarbeit/src/ytterbium)
<command line option> error: /home/andreas/.cargo/rust-clippy/target/release/libclippy.so: undefined symbol: _ZN66_$LT$parse..token..InternedString$u20$as$u20$std..fmt..Display$GT$3fmt17h69ba650755d29fbcE
error: Could not compile `ytterbium`.

To learn more, run the command again with --verbose.
error: third party subcommand `cargo-clippy` exited unsuccessfully

To learn more, run the command again with --verbose.
Makefile:12: recipe for target 'clippy' failed
make: *** [clippy] Error 101
$ rustup run nightly -- rustc --version
rustc 1.10.0-nightly (cda7c1cf2 2016-04-27)
klingtnet commented 8 years ago

The project compiles fine with rust nightly and stable.

klingtnet commented 8 years ago

I've somehow removed the clippy dependency from my Cargo.toml, so nevermind. Everything works again.