fourcc 0.0.4

Syntax extension to generate FourCCs (four-character code).
Build #56010 2017-06-04 22:36:21

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# 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 fourcc v0.0.4
Documenting fourcc v0.0.4
Running `rustdoc --crate-name fourcc .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -L dependency=/home/cratesfyi/cratesfyi/debug/deps`
error[E0432]: unresolved import `syntax::attr::contains`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:48:5
|
48 | use syntax::attr::contains;
|     ^^^^^^^^^^^^^^^^^^^^^^ no `contains` in `attr`

error[E0432]: unresolved import `syntax::codemap::mk_sp`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:49:29
|
49 | use syntax::codemap::{Span, mk_sp};
|                             ^^^^^ no `mk_sp` in `codemap`

error[E0432]: unresolved import `syntax::parse::token::InternedString`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:54:5
|
54 | use syntax::parse::token::InternedString;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `InternedString` in `parse::token`

error[E0432]: unresolved import `rustc::plugin::Registry`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:56:5
|
56 | use rustc::plugin::Registry;
|     ^^^^^^^^^^^^^^^^^^^^^^^ Could not find `plugin` in `rustc`

error[E0412]: cannot find type `TokenTree` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:64:66
|
64 | pub fn expand_syntax_ext(cx: &mut ExtCtxt, sp: Span, tts: &[ast::TokenTree])
|                                                                  ^^^^^^^^^ not found in `ast`
|
help: possible candidates are found in other modules, you can import them into scope
| use syntax::ext::tt::quoted::TokenTree;
| use syntax::tokenstream::TokenTree;

error[E0531]: cannot find tuple struct/variant `ExprLit` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:83:14
|
83 |         ast::ExprLit(ref lit) => match lit.node {
|              ^^^^^^^ not found in `ast`
|
help: possible candidates are found in other modules, you can import them into scope
| use rustc::hir::ExprLit;
| use rustc::hir::Expr_::ExprLit;

error[E0531]: cannot find tuple struct/variant `LitStr` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:85:18
|
85 |             ast::LitStr(ref s, _) => {
|                  ^^^^^^ not found in `ast`

error[E0425]: cannot find function `LitInt` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:117:34
|
117 |     let e = cx.expr_lit(sp, ast::LitInt(val as u64, ast::UnsignedIntLit(ast::TyU32)));
|                                  ^^^^^^ not found in `ast`

error[E0425]: cannot find function `UnsignedIntLit` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:117:58
|
117 |     let e = cx.expr_lit(sp, ast::LitInt(val as u64, ast::UnsignedIntLit(ast::TyU32)));
|                                                          ^^^^^^^^^^^^^^ not found in `ast`

error[E0425]: cannot find value `TyU32` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:117:78
|
117 |     let e = cx.expr_lit(sp, ast::LitInt(val as u64, ast::UnsignedIntLit(ast::TyU32)));
|                                                                              ^^^^^ not found in `ast`

error[E0412]: cannot find type `TokenTree` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:127:26
|
127 |              tts: &[ast::TokenTree]) -> (P<ast::Expr>, Option<Ident>) {
|                          ^^^^^^^^^ not found in `ast`
|
help: possible candidates are found in other modules, you can import them into scope
| use syntax::ext::tt::quoted::TokenTree;
| use syntax::tokenstream::TokenTree;

error[E0425]: cannot find function `LitStr` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:147:14
|
147 |         ast::LitStr(InternedString::new("little"), ast::CookedStr));
|              ^^^^^^ not found in `ast`

error[E0425]: cannot find value `CookedStr` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:147:57
|
147 |         ast::LitStr(InternedString::new("little"), ast::CookedStr));
|                                                         ^^^^^^^^^ not found in `ast`

error: no field `last_span` on type `&mut syntax::parse::parser::Parser<'_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:136:20
|
136 |         let hi = p.last_span.hi;
|                    ^^^^^^^^^

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:142:6
|
142 |     (ex, id)
|      ^^ expected struct `syntax::ptr::P`, found enum `std::result::Result`
|
= note: expected type `syntax::ptr::P<_>`
found type `std::result::Result<syntax::ptr::P<_>, syntax::<unnamed>::DiagnosticBuilder<'_>>`
= help: here are some functions which might fulfill your needs:
- .unwrap()
- .unwrap_err()

error: type `syntax::ast::MetaItem` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs:148:26
|
148 |     contains(&cx.cfg(), &*meta)
|                          ^^^^^

error: Compilation failed, aborting rustdoc

thread 'main' panicked at 'ChainedError {
error: Could not document `fourcc`.,
cause: process didn't exit successfully: `rustdoc --crate-name fourcc .cargo/registry/src/github.com-1ecc6299db9ec823/fourcc-0.0.4/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -L dependency=/home/cratesfyi/cratesfyi/debug/deps` (exit code: 101)
}', src/bin/cratesfyi.rs:136
note: Run with `RUST_BACKTRACE=1` for a backtrace.