doc_file 0.2.0

Move your Rust crate's documentation into external files.

Build #90274 2018-03-06 02:28:30

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.26.0-dev (5c1d29af0 2018-03-03)

# docs.rs version cratesfyi 0.5.0 (579f83b 2018-03-05)

# build log Updating registry `https://github.com/rust-lang/crates.io-index` Downloading doc_file v0.2.0 Documenting doc_file v0.2.0 Running `rustdoc --crate-name doc_file .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20180303-1.26.0-dev-5c1d29af0 -L dependency=/home/cratesfyi/cratesfyi/debug/deps` error: expected identifier, found keyword `mod` --> .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs:16:15 | 16 | use std::io::{mod, IoResult}; | ^^^ expected identifier, found keyword error[E0432]: unresolved import `rustc::plugin` --> .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs:8:12 | 8 | use rustc::plugin::Registry; | ^^^^^^ Could not find `plugin` in `rustc` error[E0432]: unresolved import `syntax::ext::base::ItemModifier` --> .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs:10:34 | 10 | use syntax::ext::base::{ExtCtxt, ItemModifier, SyntaxExtension}; | ^^^^^^^^^^^^ no `ItemModifier` in `ext::base` error[E0432]: unresolved import `std::error::FromError` --> .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs:15:5 | 15 | use std::error::FromError; | ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error` error[E0432]: unresolved import `std::io::mod` --> .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs:16:15 | 16 | use std::io::{mod, IoResult}; | ^^^ no `mod` in `io` error[E0432]: unresolved import `std::io::IoResult` --> .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs:16:20 | 16 | use std::io::{mod, IoResult}; | ^^^^^^^^ no `IoResult` in `io`. Did you mean to use `Result`? error[E0432]: unresolved import `syntax::ast::MetaItem_` --> .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs:31:22 | 31 | use syntax::ast::MetaItem_::MetaNameValue as NameValue; | ^^^^^^^^^ Could not find `MetaItem_` in `ast` error[E0432]: unresolved import `syntax::ast::Lit_` --> .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs:32:22 | 32 | use syntax::ast::Lit_::LitStr; | ^^^^ Could not find `Lit_` in `ast` error[E0432]: unresolved import `std::io::File` --> .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs:48:9 | 48 | use std::io::File; | ^^^^^^^^^^^^^ no `File` in `io` error[E0433]: failed to resolve. Use of undeclared type or module `io` --> .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs:19:13 | 19 | IoError(io::IoError), | ^^ Use of undeclared type or module `io` error[E0433]: failed to resolve. Use of undeclared type or module `io` --> .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs:24:16 | 24 | impl FromError<io::IoError> for AttrError { | ^^ Use of undeclared type or module `io` error[E0433]: failed to resolve. Use of undeclared type or module `io` --> .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs:25:22 | 25 | fn from_error(e: io::IoError) -> AttrError { | ^^ Use of undeclared type or module `io` error[E0412]: cannot find type `Path` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs:30:48 | 30 | fn extract_doc_path(meta: &MetaItem) -> Result<Path, AttrError> { | ^^^^ not found in this scope help: possible candidates are found in other modules, you can import them into scope | 8 | use rustc::hir::Path; | 8 | use std::path::Path; | 8 | use syntax::ast::Path; | error[E0412]: cannot find type `Path` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs:47:43 | 47 | fn slurp_doc_file(cx: &mut ExtCtxt, path: Path, sp: Span) -> IoResult<String> { | ^^^^ not found in this scope help: possible candidates are found in other modules, you can import them into scope | 8 | use rustc::hir::Path; | 8 | use std::path::Path; | 8 | use syntax::ast::Path; | error[E0658]: The attribute `phase` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) --> .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs:6:1 | 6 | #[phase(plugin, link)] extern crate log; | ^^^^^^^^^^^^^^^^^^^^^^ | = help: add #![feature(custom_attribute)] to the crate attributes to enable error: aborting due to 15 previous errors You've got a few errors: E0412, E0432, E0433, E0658 If you want more information on an error, try using "rustc --explain E0412" thread 'main' panicked at 'Error( CargoError( ChainedError { error: Could not document `doc_file`., cause: process didn't exit successfully: `rustdoc --crate-name doc_file .cargo/registry/src/github.com-1ecc6299db9ec823/doc_file-0.2.0/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20180303-1.26.0-dev-5c1d29af0 -L dependency=/home/cratesfyi/cratesfyi/debug/deps` (exit code: 101) } ), State { next_error: None, backtrace: None } )', src/bin/cratesfyi.rs:142:13 note: Run with `RUST_BACKTRACE=1` for a backtrace.