Compiling metadeps v1.1.2 (file:///builddir/build/BUILD/metadeps-1.1.2)
Running `/usr/bin/rustc --crate-name metadeps src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=1e376cfc3b1b69c7 -C extra-filename=-1e376cfc3b1b69c7 --out-dir /builddir/build/BUILD/metadeps-1.1.2/target/release/deps -L dependency=/builddir/build/BUILD/metadeps-1.1.2/target/release/deps --extern toml=/builddir/build/BUILD/metadeps-1.1.2/target/release/deps/libtoml-7a0939405d081ad7.rlib --extern error_chain=/builddir/build/BUILD/metadeps-1.1.2/target/release/deps/liberror_chain-93c0769080431c67.rlib --extern pkg_config=/builddir/build/BUILD/metadeps-1.1.2/target/release/deps/libpkg_config-71a56f3061518d2d.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now`
error: lint unused_doc_comment has been renamed to unused_doc_comments
--> src/lib.rs:27:1
|
27 | / error_chain! {
28 | | foreign_links {
29 | | PkgConfig(pkg_config::Error) #[doc="pkg-config error"];
30 | | }
31 | | }
| |_^
|
note: lint level defined here
--> src/lib.rs:13:23
|
13 | #![deny(missing_docs, warnings)]
| ^^^^^^^^
= note: #[deny(renamed_and_removed_lints)] implied by #[deny(warnings)]
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: doc comment not used by rustdoc
--> src/lib.rs:27:1
|
27 | / error_chain! {
28 | | foreign_links {
29 | | PkgConfig(pkg_config::Error) #[doc="pkg-config error"];
30 | | }
31 | | }
| |_^
|
note: lint level defined here
--> src/lib.rs:13:23
|
13 | #![deny(missing_docs, warnings)]
| ^^^^^^^^
= note: #[deny(unused_doc_comments)] implied by #[deny(warnings)]
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: lint unused_doc_comment has been renamed to unused_doc_comments
--> src/lib.rs:27:1
|
27 | / error_chain! {
28 | | foreign_links {
29 | | PkgConfig(pkg_config::Error) #[doc="pkg-config error"];
30 | | }
31 | | }
| |_^
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: lint unused_doc_comment has been renamed to unused_doc_comments
--> src/lib.rs:27:1
|
27 | / error_chain! {
28 | | foreign_links {
29 | | PkgConfig(pkg_config::Error) #[doc="pkg-config error"];
30 | | }
31 | | }
| |_^
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: aborting due to 4 previous errors
error: Could not compile `metadeps`.
This is a bug in upstream error-chain, and the latest upstream version still has this bug. I think, at this point, I'm just going to stop using error-chain entirely.