kbknapp / cargo-graph

A cargo subcommand for creating GraphViz DOT files and dependency graphs
BSD 3-Clause "New" or "Revised" License
216 stars 16 forks source link

Compile error with rustc 1.15.0-nightly (ebeee0e27 2016-12-04) #35

Closed zoumi closed 7 years ago

zoumi commented 7 years ago
   Compiling cargo-graph v0.3.0
     Running `rustc /home/zoumi/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-graph-0.3.0/src/main.rs --crate-name cargo_graph --crate-type bin -C opt-level=3 --cfg feature=\"default\" --cfg feature=\"ansi_term\" --cfg feature=\"color\" -C metadata=78981140edc34098 --out-dir /tmp/cargo-install.RRnxogUmQG1e/release/deps --emit=dep-info,link -L dependency=/tmp/cargo-install.RRnxogUmQG1e/release/deps --extern clap=/tmp/cargo-install.RRnxogUmQG1e/release/deps/libclap-5edb29158d4cdcf9.rlib --extern toml=/tmp/cargo-install.RRnxogUmQG1e/release/deps/libtoml-43ec4e65006ca283.rlib --extern ansi_term=/tmp/cargo-install.RRnxogUmQG1e/release/deps/libansi_term-2bdf8e6e86434248.rlib`
error: unnecessary qualification
  --> /home/zoumi/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-graph-0.3.0/src/config.rs:28:1
   |
28 |   arg_enum! {
   |  _^ starting here...
29 | |     #[derive(Debug, Copy, Clone)]
30 | |     pub enum DotLineShape {
31 | |         Solid,
32 | |         Dotted,
33 | |         Dashed
34 | |     }
35 | | }
   | |_^ ...ending here
   |
note: lint level defined here
  --> /home/zoumi/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-graph-0.3.0/src/main.rs:216:9
   |
216|         unused_qualifications)]
   |         ^^^^^^^^^^^^^^^^^^^^^
   = note: this error originates in a macro outside of the current crate

error: unnecessary qualification
  --> /home/zoumi/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-graph-0.3.0/src/config.rs:47:1
   |
47 | arg_enum!{
   | ^
   |
   = note: this error originates in a macro outside of the current crate

error: unnecessary qualification
  --> /home/zoumi/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-graph-0.3.0/src/config.rs:76:1
   |
76 |   arg_enum!{
   |  _^ starting here...
77 | |     #[derive(Debug, Copy, Clone)]
78 | |     pub enum DotShape {
79 | |         Box,
80 | |         Round,
81 | |         Diamond,
82 | |         Triangle
83 | |     }
84 | | }
   | |_^ ...ending here
   |
   = note: this error originates in a macro outside of the current crate

error: aborting due to 3 previous errors

error: failed to compile `cargo-graph v0.3.0`, intermediate artifacts can be found at `/tmp/cargo-install.RRnxogUmQG1e`

Caused by:
  Could not compile `cargo-graph`.

Caused by:
  process didn't exit successfully: `rustc /home/zoumi/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-graph-0.3.0/src/main.rs --crate-name cargo_graph --crate-type bin -C opt-level=3 --cfg feature="default" --cfg feature="ansi_term" --cfg feature="color" -C metadata=78981140edc34098 --out-dir /tmp/cargo-install.RRnxogUmQG1e/release/deps --emit=dep-info,link -L dependency=/tmp/cargo-install.RRnxogUmQG1e/release/deps --extern clap=/tmp/cargo-install.RRnxogUmQG1e/release/deps/libclap-5edb29158d4cdcf9.rlib --extern toml=/tmp/cargo-install.RRnxogUmQG1e/release/deps/libtoml-43ec4e65006ca283.rlib --extern ansi_term=/tmp/cargo-install.RRnxogUmQG1e/release/deps/libansi_term-2bdf8e6e86434248.rlib` (exit code: 101)

Default host: x86_64-unknown-linux-gnu

installed toolchains

stable-x86_64-unknown-linux-gnu nightly-x86_64-unknown-linux-gnu (default)

installed targets for active toolchain

arm-linux-androideabi x86_64-unknown-linux-gnu x86_64-unknown-linux-musl

active toolchain

nightly-x86_64-unknown-linux-gnu (default) rustc 1.15.0-nightly (ebeee0e27 2016-12-04)

cenos _7_64bit