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.12.0-nightly (54c0dcfd6 2016-07-28)# docs.rs version cratesfyi 0.2.0 (5dbd676 2016-07-30)# build log Updating registry `https://github.com/rust-lang/crates.io-index` Downloading speculate v0.0.5 Documenting speculate v0.0.5 Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/lib.rs --crate-name speculate -o /home/cratesfyi/speculate-0.0.5/doc -L dependency=/home/cratesfyi/speculate-0.0.5/debug -L dependency=/home/cratesfyi/speculate-0.0.5/debug/deps` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/lib.rs:6:5: 6:28 error: unresolved import `rustc::plugin::Registry`. Could not find `plugin` in `rustc` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/lib.rs:6 use rustc::plugin::Registry; ^~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/lib.rs:7:25: 7:34 error: unresolved import `syntax::ast::TokenTree`. There is no `TokenTree` in `syntax::ast` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/lib.rs:7 use syntax::ast::{self, TokenTree}; ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/lib.rs:10:34: 10:42 error: unresolved import `syntax::ext::base::MacItems`. There is no `MacItems` in `syntax::ext::base` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/lib.rs:10 use syntax::ext::base::{ExtCtxt, MacItems, MacResult}; ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:3:5: 3:21 error: unresolved import `syntax::ast_util`. There is no `ast_util` in `syntax` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:3 use syntax::ast_util; ^~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:93:33: 93:51 error: unresolved name `ast::DefaultReturn` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:93 output: ast::DefaultReturn(DUMMY_SP), ^~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:97:21: 97:30 error: unresolved name `abi::Rust` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:97 abi::Rust, ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:90:17: 90:28 error: unresolved name `ast::ItemFn` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:90 ast::ItemFn( ^~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:136:33: 136:51 error: unresolved name `ast::DefaultReturn` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:136 output: ast::DefaultReturn(DUMMY_SP), ^~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:140:21: 140:30 error: unresolved name `abi::Rust` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:140 abi::Rust, ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:133:17: 133:28 error: unresolved name `ast::ItemFn` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:133 ast::ItemFn( ^~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:27:21: 27:27 error: no method named `as_str` found for type `std::result::Result<syntax::ast::Ident, syntax::rustc_errors::DiagnosticBuilder<'_>>` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:27 match ident.as_str() { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:29:21: 29:30 error: mismatched types [E0308] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:29 let (name, _) = parser.parse_str(); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:29:21: 29:30 note: expected type `std::result::Result<(syntax::parse::token::InternedString, syntax::ast::StrStyle), syntax::rustc_errors::DiagnosticBuilder<'_>>` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:29:21: 29:30 note: found type `(_, _)` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:29:21: 29:30 note: expected enum `std::result::Result`, found tuple .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:29 let (name, _) = parser.parse_str(); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:37:21: 37:30 error: mismatched types [E0308] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:37 let (name, _) = parser.parse_str(); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:37:21: 37:30 note: expected type `std::result::Result<(syntax::parse::token::InternedString, syntax::ast::StrStyle), syntax::rustc_errors::DiagnosticBuilder<'_>>` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:37:21: 37:30 note: found type `(_, _)` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:37:21: 37:30 note: expected enum `std::result::Result`, found tuple .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:37 let (name, _) = parser.parse_str(); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:47:21: 47:30 error: mismatched types [E0308] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:47 let (name, _) = parser.parse_str(); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:47:21: 47:30 note: expected type `std::result::Result<(syntax::parse::token::InternedString, syntax::ast::StrStyle), syntax::rustc_errors::DiagnosticBuilder<'_>>` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:47:21: 47:30 note: found type `(_, _)` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:47:21: 47:30 note: expected enum `std::result::Result`, found tuple .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:47 let (name, _) = parser.parse_str(); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:55:28: 55:33 error: mismatched types [E0308] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:55 ident: ident, ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:55:28: 55:33 note: expected type `syntax::ast::Ident` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:55:28: 55:33 note: found type `std::result::Result<syntax::ast::Ident, syntax::rustc_errors::DiagnosticBuilder<'_>>` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:55:28: 55:33 note: expected struct `syntax::ast::Ident`, found enum `std::result::Result` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:55 ident: ident, ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:71:17: 71:51 error: mismatched types [E0308] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:71 parser.span_fatal(span, &*message) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:71:17: 71:51 note: expected type `()` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:71:17: 71:51 note: found type `syntax::rustc_errors::DiagnosticBuilder<'_>` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:71:17: 71:51 note: expected (), found struct `syntax::rustc_errors::DiagnosticBuilder` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:71 parser.span_fatal(span, &*message) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:87:8: 87:18 error: attempted access of field `expr` on type `std::result::Result<syntax::ptr::P<syntax::ast::Block>, syntax::rustc_errors::DiagnosticBuilder<'_>>`, but no field with that name was found .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:87 if block.expr.is_some() { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:88:9: 90:71 error: mismatched types [E0308] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:88 parser.span_fatal( ^ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:88:9: 90:71 note: expected type `()` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:88:9: 90:71 note: found type `syntax::rustc_errors::DiagnosticBuilder<'_>` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:88:9: 90:71 note: expected (), found struct `syntax::rustc_errors::DiagnosticBuilder` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:88 parser.span_fatal( ^ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:92:5: 92:10 error: mismatched types [E0308] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:92 block ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:92:5: 92:10 note: expected type `syntax::ptr::P<syntax::ast::Block>` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:92:5: 92:10 note: found type `std::result::Result<syntax::ptr::P<syntax::ast::Block>, syntax::rustc_errors::DiagnosticBuilder<'_>>` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:92:5: 92:10 note: expected struct `syntax::ptr::P`, found enum `std::result::Result` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/parser.rs:92 block ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:151:16: 151:34 error: binary operation `+` cannot be applied to type `std::vec::Vec<syntax::ast::Stmt>` [E0369] .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:151 stmts: left.stmts.clone() + &*right.stmts, ^~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:151:16: 151:34 note: an implementation of `std::ops::Add` might be missing for `std::vec::Vec<syntax::ast::Stmt>` .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/generator.rs:151 stmts: left.stmts.clone() + &*right.stmts, ^~~~~~~~~~~~~~~~~~ error: Compilation failed, aborting rustdoc thread 'main' panicked at 'ChainedError { error: failed to compile `speculate v0.0.5`, intermediate artifacts can be found at `/home/cratesfyi/speculate-0.0.5`, cause: ChainedError { error: Could not document `speculate`., cause: Process didn't exit successfully: `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.5/src/lib.rs --crate-name speculate -o /home/cratesfyi/speculate-0.0.5/doc -L dependency=/home/cratesfyi/speculate-0.0.5/debug -L dependency=/home/cratesfyi/speculate-0.0.5/debug/deps` (exit code: 101) } }', src/bin/cratesfyi.rs:119 note: Run with `RUST_BACKTRACE=1` for a backtrace.