serde-deprecated/syntex

Can't build syntex_errors if using "-vv"

Opened this issue · 2 comments

If syntex_errors is somewhere in dependencies, running cargo build -vv results in a fail:

    Running `rustc --crate-name build_script_build /home/ri/.cargo/registry/src/github.com-1ecc6299db9ec823/kernel32-sys-0.2.2/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=9b6c3463a8ee3470 -C extra-filename=-9b6c3463a8ee3470 --out-dir /tmp/1/test_full_run/crate/target/debug/build/kernel32-sys-9b6c3463a8ee3470 -L dependency=/tmp/1/test_full_run/crate/target/debug/deps --extern build=/tmp/1/test_full_run/crate/target/debug/deps/libbuild-be2484a2a757a053.rlib`
error: unused `#[macro_use]` import
  --> /home/ri/.cargo/registry/src/github.com-1ecc6299db9ec823/syntex_errors-0.54.0/src/lib.rs:20:1
   |
20 | #[macro_use]
   | ^^^^^^^^^^^^
   |
note: lint level defined here
  --> /home/ri/.cargo/registry/src/github.com-1ecc6299db9ec823/syntex_errors-0.54.0/src/lib.rs:16:31
   |
16 | #![cfg_attr(not(stage0), deny(warnings))]
   |                               ^^^^^^^^

error: unused `#[macro_use]` import
  --> /home/ri/.cargo/registry/src/github.com-1ecc6299db9ec823/syntex_errors-0.54.0/src/lib.rs:22:1
   |
22 | #[macro_use]
   | ^^^^^^^^^^^^

error: aborting due to 2 previous errors

error: Could not compile `syntex_errors`.

I'm using -vv to view build scripts output, but cargo also seems to enable more strict lint checks.

May be Dup of rust-lang/cargo#3823 ?

The upstream issue rust-lang/cargo#3823 was fixed about a month ago, but there was no release since then. I assume this will be fixed with Cargo 0.18.0.