build_epoch 0.0.1

Macro for calculating the epoch at compile time
Build #60640 2017-06-06T14:37:06.027002+00:00
# rustc version
rustc 1.19.0-dev (28a93c1f4 2017-05-31)
# docs.rs version
cratesfyi 0.4.0-dev (bedcc0c 2017-06-01)

# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading build_epoch v0.0.1
Fresh libc v0.2.23
Fresh lazy_static v0.2.8
Fresh time v0.1.37
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 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern time=/home/cratesfyi/cratesfyi/debug/deps/libtime-162277ce7a864579.rlib --extern-version time=time,0.1.37 --extern lazy_static=/home/cratesfyi/cratesfyi/debug/deps/liblazy_static-18005fa1be5dd889.rlib --extern-version lazy_static=lazy_static,0.2.8`
error[E0432]: unresolved import `rustc::plugin::Registry`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/build_epoch-0.0.1/src/lib.rs:13:5
|
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[E0599]: no associated item named `SignedIntLit` found for type `syntax::ast::LitIntType` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/build_epoch-0.0.1/src/lib.rs:30:43
|
30 |     let lit = Lit_::LitInt(*EPOCH as u64, LitIntType::SignedIntLit(IntTy::TyI64, Sign::Plus));
|                                           ^^^^^^^^^^^^^^^^^^^^^^^^

error[E0599]: no associated item named `TyI64` found for type `syntax::ast::IntTy` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/build_epoch-0.0.1/src/lib.rs:30:68
|
30 |     let lit = Lit_::LitInt(*EPOCH as u64, LitIntType::SignedIntLit(IntTy::TyI64, Sign::Plus));
|                                                                    ^^^^^^^^^^^^

error: Compilation failed, aborting rustdoc

thread 'main' panicked at '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 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern time=/home/cratesfyi/cratesfyi/debug/deps/libtime-162277ce7a864579.rlib --extern-version time=time,0.1.37 --extern lazy_static=/home/cratesfyi/cratesfyi/debug/deps/liblazy_static-18005fa1be5dd889.rlib --extern-version lazy_static=lazy_static,0.2.8` (exit code: 101)
}', src/bin/cratesfyi.rs:136
note: Run with `RUST_BACKTRACE=1` for a backtrace.