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 gcc v0.1.3 Documenting gcc v0.1.3 Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs --crate-name gcc -o /home/cratesfyi/gcc-0.1.3/doc -L dependency=/home/cratesfyi/gcc-0.1.3/debug -L dependency=/home/cratesfyi/gcc-0.1.3/debug/deps` .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:1:5: 1:21 error: unresolved import `std::io::Command`. There is no `Command` in `std::io` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:1 use std::io::Command; ^~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:2:5: 2:32 error: unresolved import `std::io::process::InheritFd`. Could not find `process` in `std::io` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:2 use std::io::process::InheritFd; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:29:9: 29:24 error: unresolved import `std::os::getenv`. There is no `getenv` in `std::os` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:29 use std::os::getenv; ^~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:8:34: 8:38 error: type name `Path` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:8 pub include_directories: Vec<Path>, ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:8:34: 8:38 help: you can import it into scope: `use std::path::Path;`. .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:12:22: 12:26 error: type name `Path` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:12 pub objects: Vec<Path>, ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:12:22: 12:26 help: you can import it into scope: `use std::path::Path;`. .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:93:15: 93:24 error: failed to resolve. Use of undeclared type or module `Path` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:93 let src = Path::new(getenv("CARGO_MANIFEST_DIR").unwrap()); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:94:15: 94:24 error: failed to resolve. Use of undeclared type or module `Path` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:94 let dst = Path::new(getenv("OUT_DIR").unwrap()); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:98:55: 98:72 error: unresolved name `std::io::USER_RWX` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:98 std::io::fs::mkdir_recursive(&obj.dir_path(), std::io::USER_RWX).unwrap(); ^~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:98:9: 98:37 error: failed to resolve. Could not find `fs` in `std::io` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:98 std::io::fs::mkdir_recursive(&obj.dir_path(), std::io::USER_RWX).unwrap(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:31:28: 31:29 error: the trait bound `std::option::Option<std::string::String>: std::fmt::Display` is not satisfied [E0277] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:31 println!("{} = {}", v, r); ^ <std macros>:2:27: 2:58 note: in this expansion of format_args! <std macros>:3:1: 3:54 note: in this expansion of print! (defined in <std macros>) .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:31:5: 31:31 note: in this expansion of println! (defined in <std macros>) .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:31:28: 31:29 note: `std::option::Option<std::string::String>` cannot be formatted with the default formatter; try using `:?` instead if you are using a format string .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:31:28: 31:29 note: required by `std::fmt::Display::fmt` .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:57:43: 57:51 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:57 let mut cmd = Command::new(gcc(target.as_slice())); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:63:15: 63:23 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:63 if target.as_slice().contains("-ios") { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:64:35: 64:43 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:64 cmd.args(ios_flags(target.as_slice()).as_slice()); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:66:19: 66:27 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:66 if target.as_slice().contains("i686") { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:68:26: 68:34 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:68 } else if target.as_slice().contains("x86_64") { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:72:20: 72:28 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:72 if !target.as_slice().contains("i686") { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:104:32: 104:40 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:104 run(Command::new(ar(target.as_slice())).arg("crus") ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:109:36: 109:41 error: no method named `slice` found for type `&str` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:109 dst.display(), output.slice(3, output.len() - 2)); ^~~~~ <std macros>:2:27: 2:58 note: in this expansion of format_args! <std macros>:3:1: 3:54 note: in this expansion of print! (defined in <std macros>) .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:108:5: 109:64 note: in this expansion of println! (defined in <std macros>) .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:134:57: 134:65 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:134 let res = getenv(format!("{}_{}", var_base, target).as_slice()) ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:135:65: 135:73 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:135 .or_else(|| getenv(format!("{}_{}", var_base, target_u).as_slice())) ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:136:61: 136:69 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:136 .or_else(|| getenv(format!("{}_{}", kind, var_base).as_slice())) ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:146:29: 146:37 error: no method named `find_str` found for type `&str` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:146 let is_android = target.find_str("android").is_some(); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:146:29: 146:37 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:146:29: 146:37 help: candidate #1: `use core::str::StrExt` .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:158:29: 158:37 error: no method named `find_str` found for type `&str` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:158 let is_android = target.find_str("android").is_some(); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:158:29: 158:37 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it: .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:158:29: 158:37 help: candidate #1: `use core::str::StrExt` .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:169:9: 169:17 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:169 .as_slice().words().map(|s| s.to_string()) ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:206:23: 206:31 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs:206 res.push(sdk_path.as_slice().trim()); ^~~~~~~~ error: Compilation failed, aborting rustdoc thread 'main' panicked at 'ChainedError { error: failed to compile `gcc v0.1.3`, intermediate artifacts can be found at `/home/cratesfyi/gcc-0.1.3`, cause: ChainedError { error: Could not document `gcc`., cause: Process didn't exit successfully: `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.1.3/src/lib.rs --crate-name gcc -o /home/cratesfyi/gcc-0.1.3/doc -L dependency=/home/cratesfyi/gcc-0.1.3/debug -L dependency=/home/cratesfyi/gcc-0.1.3/debug/deps` (exit code: 101) } }', src/bin/cratesfyi.rs:119 note: Run with `RUST_BACKTRACE=1` for a backtrace.