Build #8352 2016-08-05 14:47:46

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.0.1 Documenting gcc v0.0.1 Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs --crate-name gcc -o /home/cratesfyi/gcc-0.0.1/doc -L dependency=/home/cratesfyi/gcc-0.0.1/debug -L dependency=/home/cratesfyi/gcc-0.0.1/debug/deps` .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:4:5: 4:21 error: unresolved import `std::io::Command`. There is no `Command` in `std::io` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:4 use std::io::Command; ^~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:5:5: 5:32 error: unresolved import `std::io::process::InheritFd`. Could not find `process` in `std::io` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:5 use std::io::process::InheritFd; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:11:34: 11:38 error: type name `Path` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:11 pub include_directories: Vec<Path>, ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:11:34: 11:38 help: you can import it into scope: `use std::path::Path;`. .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:15:22: 15:26 error: type name `Path` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:15 pub objects: Vec<Path>, ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:15:22: 15:26 help: you can import it into scope: `use std::path::Path;`. .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:47:18: 47:28 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:47 let target = os::getenv("TARGET").unwrap(); ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:48:21: 48:31 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:48 let opt_level = os::getenv("OPT_LEVEL").unwrap(); ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:78:25: 78:35 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:78 let src = Path::new(os::getenv("CARGO_MANIFEST_DIR").unwrap()); ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:78:15: 78:24 error: failed to resolve. Use of undeclared type or module `Path` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:78 let src = Path::new(os::getenv("CARGO_MANIFEST_DIR").unwrap()); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:79:25: 79:35 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:79 let dst = Path::new(os::getenv("OUT_DIR").unwrap()); ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:79:15: 79:24 error: failed to resolve. Use of undeclared type or module `Path` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:79 let dst = Path::new(os::getenv("OUT_DIR").unwrap()); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:83:55: 83:72 error: unresolved name `std::io::USER_RWX` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:83 std::io::fs::mkdir_recursive(&obj.dir_path(), std::io::USER_RWX).unwrap(); ^~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:83:9: 83:37 error: failed to resolve. Could not find `fs` in `std::io` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:83 std::io::fs::mkdir_recursive(&obj.dir_path(), std::io::USER_RWX).unwrap(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:108:5: 108:15 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:108 os::getenv("CC").unwrap_or(if cfg!(windows) { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:116:5: 116:15 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:116 os::getenv("AR").unwrap_or("ar".to_string()) ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:120:5: 120:15 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:120 os::getenv("CFLAGS").unwrap_or(String::new()) ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:94:36: 94:41 error: no method named `slice` found for type `&str` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs:94 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.0.1/src/lib.rs:93:5: 94:64 note: in this expansion of println! (defined in <std macros>) error: Compilation failed, aborting rustdoc thread 'main' panicked at 'ChainedError { error: failed to compile `gcc v0.0.1`, intermediate artifacts can be found at `/home/cratesfyi/gcc-0.0.1`, cause: ChainedError { error: Could not document `gcc`., cause: Process didn't exit successfully: `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.0.1/src/lib.rs --crate-name gcc -o /home/cratesfyi/gcc-0.0.1/doc -L dependency=/home/cratesfyi/gcc-0.0.1/debug -L dependency=/home/cratesfyi/gcc-0.0.1/debug/deps` (exit code: 101) } }', src/bin/cratesfyi.rs:119 note: Run with `RUST_BACKTRACE=1` for a backtrace.