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 text_table v0.0.4 Downloading speculate v0.0.8 Compiling speculate v0.0.8 Running `rustc --crate-name speculate .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/lib.rs --crate-type dylib --emit=dep-info,link -C prefer-dynamic -C debuginfo=2 -C metadata=656f45d2d5ba619b -C extra-filename=-656f45d2d5ba619b --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` error[E0432]: unresolved import `rustc::plugin::Registry` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/lib.rs:6:5 | 6 | use rustc::plugin::Registry; | ^^^^^^^^^^^^^^^^^^^^^^^ Could not find `plugin` in `rustc` error[E0432]: unresolved import `syntax::ast::TokenTree` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/lib.rs:7:25 | 7 | use syntax::ast::{self, TokenTree}; | ^^^^^^^^^ no `TokenTree` in `ast` error[E0432]: unresolved import `syntax::ext::base::MacItems` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/lib.rs:10:34 | 10 | use syntax::ext::base::{ExtCtxt, MacItems, MacResult}; | ^^^^^^^^ no `MacItems` in `ext::base` error[E0432]: unresolved import `syntax::parse::tts_to_parser` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/lib.rs:13:5 | 13 | use syntax::parse::tts_to_parser; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `tts_to_parser` in `parse` error[E0432]: unresolved import `syntax::ast_util` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/generator.rs:3:5 | 3 | use syntax::ast_util; | ^^^^^^^^^^^^^^^^ no `ast_util` in the root error[E0433]: failed to resolve. Could not find `InternedString` in `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/generator.rs:72:40 | 72 | cx.meta_word(DUMMY_SP, token::InternedString::new("test")) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `InternedString` in `token` error[E0425]: cannot find function `ItemFn` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/generator.rs:90:22 | 90 | ast::ItemFn( | ^^^^^^ not found in `ast` | help: possible candidates are found in other modules, you can import them into scope | use rustc::hir::ItemFn; | use rustc::hir::Item_::ItemFn; | use rustc::hir::intravisit::FnKind::ItemFn; | use syntax::visit::FnKind::ItemFn; error[E0425]: cannot find function `DefaultReturn` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/generator.rs:93:38 | 93 | output: ast::DefaultReturn(DUMMY_SP), | ^^^^^^^^^^^^^ not found in `ast` | help: possible candidates are found in other modules, you can import them into scope | use rustc::hir::DefaultReturn; | use rustc::hir::FunctionRetTy::DefaultReturn; error[E0425]: cannot find value `Rust` in module `abi` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/generator.rs:97:26 | 97 | abi::Rust, | ^^^^ not found in `abi` | help: possible candidate is found in another module, you can import it into scope | use syntax::abi::Abi::Rust; error[E0433]: failed to resolve. Could not find `InternedString` in `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/generator.rs:111:40 | 111 | cx.meta_word(DUMMY_SP, token::InternedString::new("bench")) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `InternedString` in `token` error[E0425]: cannot find function `ItemFn` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/generator.rs:133:22 | 133 | ast::ItemFn( | ^^^^^^ not found in `ast` | help: possible candidates are found in other modules, you can import them into scope | use rustc::hir::ItemFn; | use rustc::hir::Item_::ItemFn; | use rustc::hir::intravisit::FnKind::ItemFn; | use syntax::visit::FnKind::ItemFn; error[E0425]: cannot find function `DefaultReturn` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/generator.rs:136:38 | 136 | output: ast::DefaultReturn(DUMMY_SP), | ^^^^^^^^^^^^^ not found in `ast` | help: possible candidates are found in other modules, you can import them into scope | use rustc::hir::DefaultReturn; | use rustc::hir::FunctionRetTy::DefaultReturn; error[E0425]: cannot find value `Rust` in module `abi` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/generator.rs:140:26 | 140 | abi::Rust, | ^^^^ not found in `abi` | help: possible candidate is found in another module, you can import it into scope | use syntax::abi::Abi::Rust; error[E0433]: failed to resolve. Could not find `InternedString` in `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/lib.rs:36:17 | 36 | token::InternedString::new("allow"), | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `InternedString` in `token` error[E0433]: failed to resolve. Could not find `InternedString` in `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/lib.rs:40:25 | 40 | token::InternedString::new("non_snake_case")) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `InternedString` in `token` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/lib.rs:38:21 | 38 | / cx.meta_word( 39 | | DUMMY_SP, 40 | | token::InternedString::new("non_snake_case")) | |_____________________________________________________________________^ expected struct `syntax::codemap::Spanned`, found struct `syntax::ast::MetaItem` | = note: expected type `syntax::codemap::Spanned<syntax::ast::NestedMetaItemKind>` found type `syntax::ast::MetaItem` error[E0599]: no method named `as_str` found for type `std::result::Result<syntax::ast::Ident, syntax::<unnamed>::DiagnosticBuilder<'_>>` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/parser.rs:27:21 | 27 | match ident.as_str() { | ^^^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/parser.rs:29:21 | 29 | let (name, _) = parser.parse_str(); | ^^^^^^^^^ expected enum `std::result::Result`, found tuple | = note: expected type `std::result::Result<(syntax::ast::Symbol, syntax::ast::StrStyle), syntax::<unnamed>::DiagnosticBuilder<'_>>` found type `(_, _)` error[E0277]: the trait bound `str: std::marker::Sized` is not satisfied --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/parser.rs:29:22 | 29 | let (name, _) = parser.parse_str(); | ^^^^ `str` does not have a constant size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str` = note: all local variables must have a statically known size error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/parser.rs:37:21 | 37 | let (name, _) = parser.parse_str(); | ^^^^^^^^^ expected enum `std::result::Result`, found tuple | = note: expected type `std::result::Result<(syntax::ast::Symbol, syntax::ast::StrStyle), syntax::<unnamed>::DiagnosticBuilder<'_>>` found type `(_, _)` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/parser.rs:47:21 | 47 | let (name, _) = parser.parse_str(); | ^^^^^^^^^ expected enum `std::result::Result`, found tuple | = note: expected type `std::result::Result<(syntax::ast::Symbol, syntax::ast::StrStyle), syntax::<unnamed>::DiagnosticBuilder<'_>>` found type `(_, _)` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/parser.rs:55:28 | 55 | ident: ident, | ^^^^^ expected struct `syntax::ast::Ident`, found enum `std::result::Result` | = note: expected type `syntax::ast::Ident` found type `std::result::Result<syntax::ast::Ident, syntax::<unnamed>::DiagnosticBuilder<'_>>` = help: here are some functions which might fulfill your needs: - .unwrap() - .unwrap_err() error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/parser.rs:71:17 | 71 | parser.span_fatal(span, &*message) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found struct `syntax::<unnamed>::DiagnosticBuilder` | = note: expected type `()` found type `syntax::<unnamed>::DiagnosticBuilder<'_>` error: no field `expr` on type `std::result::Result<syntax::ptr::P<syntax::ast::Block>, syntax::<unnamed>::DiagnosticBuilder<'_>>` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/parser.rs:87:14 | 87 | if block.expr.is_some() { | ^^^^ error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/parser.rs:88:9 | 88 | / parser.span_fatal( 89 | | span, 90 | | "last expression in this block must be terminated by `;`") | |______________________________________________________________________^ expected (), found struct `syntax::<unnamed>::DiagnosticBuilder` | = note: expected type `()` found type `syntax::<unnamed>::DiagnosticBuilder<'_>` error[E0308]: mismatched types --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/parser.rs:92:5 | 92 | block | ^^^^^ 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<'_>>` error[E0369]: binary operation `+` cannot be applied to type `std::vec::Vec<syntax::ast::Stmt>` --> .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/generator.rs:151:16 | 151 | stmts: left.stmts.clone() + &*right.stmts, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: an implementation of `std::ops::Add` might be missing for `std::vec::Vec<syntax::ast::Stmt>` error: aborting due to previous error(s) thread 'main' panicked at 'ChainedError { error: Could not compile `speculate`., cause: process didn't exit successfully: `rustc --crate-name speculate .cargo/registry/src/github.com-1ecc6299db9ec823/speculate-0.0.8/src/lib.rs --crate-type dylib --emit=dep-info,link -C prefer-dynamic -C debuginfo=2 -C metadata=656f45d2d5ba619b -C extra-filename=-656f45d2d5ba619b --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101) }', src/bin/cratesfyi.rs:136 note: Run with `RUST_BACKTRACE=1` for a backtrace.