Can't find crate for `regex_macros` in doctest


#1

I’m getting this weird issue since Monday, currently reproducible with:

$ rustc --version
rustc 1.0.0-nightly (47def3ef2 2015-04-13) (built 2015-04-13)
$ cargo --version
cargo 0.0.1-pre-nightly (72c2e3d 2015-04-10) (built 2015-04-12)

All the tests passed successfully, but in the doctest phase, it is reported that

src/lib.rs:3:11: 3:23 error: can't find crate for `regex_macros`
src/lib.rs:3 #![plugin(regex_macros)]

Is there anybody knows the reason for that? You can find the build on travis:

https://travis-ci.org/sunng87/handlebars-rust/builds/57822943#L160

and the code on github:

Any suggestion is welcomed!


#2

Known bug: https://github.com/rust-lang/cargo/issues/1512

Looks like a fix is in the pipeline.


#3

Thanks! I should check cargo’s issue tracker first.