build_epoch 0.0.1

Macro for calculating the epoch at compile time
Build #104208 2018-06-06T09:40:41.845698+00:00
# rustc version
rustc 1.28.0-dev (b9bf4f162 2018-06-02)
# docs.rs version
cratesfyi 0.5.0 (579f83b 2018-03-05)

# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Fresh lazy_static v1.0.1
Fresh libc v0.2.42
Fresh time v0.1.40
Documenting build_epoch v0.0.1
Running `rustdoc --crate-name build_epoch .cargo/registry/src/github.com-1ecc6299db9ec823/build_epoch-0.0.1/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20180602-1.28.0-dev-b9bf4f162 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern time=/home/cratesfyi/cratesfyi/debug/deps/libtime-9789123e7e0740ba.rlib --extern-version time=time,0.1.40 --extern lazy_static=/home/cratesfyi/cratesfyi/debug/deps/liblazy_static-1adaeb69ca9ba8e2.rlib --extern-version lazy_static=lazy_static,1.0.1`
error[E0432]: unresolved import `rustc::plugin`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/build_epoch-0.0.1/src/lib.rs:13:12
|
13 | use rustc::plugin::Registry;
|            ^^^^^^ Could not find `plugin` in `rustc`

error[E0432]: unresolved import `syntax::ast::Lit_`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/build_epoch-0.0.1/src/lib.rs:15:26
|
15 | use syntax::ast::{IntTy, Lit_, LitIntType, Sign, TokenTree};
|                          ^^^^ no `Lit_` in `ast`. Did you mean to use `Lit`?

error[E0432]: unresolved import `syntax::ast::Sign`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/build_epoch-0.0.1/src/lib.rs:15:44
|
15 | use syntax::ast::{IntTy, Lit_, LitIntType, Sign, TokenTree};
|                                            ^^^^ no `Sign` in `ast`

error[E0432]: unresolved import `syntax::ast::TokenTree`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/build_epoch-0.0.1/src/lib.rs:15:50
|
15 | use syntax::ast::{IntTy, Lit_, LitIntType, Sign, TokenTree};
|                                                  ^^^^^^^^^ no `TokenTree` in `ast`

error: Compilation failed, aborting rustdoc

thread 'main' panicked at 'Error(
CargoError(
ChainedError {
error: Could not document `build_epoch`.,
cause: process didn't exit successfully: `rustdoc --crate-name build_epoch .cargo/registry/src/github.com-1ecc6299db9ec823/build_epoch-0.0.1/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20180602-1.28.0-dev-b9bf4f162 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern time=/home/cratesfyi/cratesfyi/debug/deps/libtime-9789123e7e0740ba.rlib --extern-version time=time,0.1.40 --extern lazy_static=/home/cratesfyi/cratesfyi/debug/deps/liblazy_static-1adaeb69ca9ba8e2.rlib --extern-version lazy_static=lazy_static,1.0.1` (exit code: 101)
}
),
State {
next_error: None,
backtrace: None
}
)', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.