gcc 0.2.0

A build-time dependency for Cargo build scripts to assist in invoking the native C compiler to compile native C code into a static archive to be linked into Rust code.

Build #8342 2016-08-05 14:46:53

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.2.0 Documenting gcc v0.2.0 Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs --crate-name gcc -o /home/cratesfyi/gcc-0.2.0/doc -L dependency=/home/cratesfyi/gcc-0.2.0/debug -L dependency=/home/cratesfyi/gcc-0.2.0/debug/deps` .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:48:19: 48:23 error: unresolved import `std::old_io`. There is no `old_io` in `std` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:48 use std::old_io::{self, Command}; ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:48:25: 48:32 error: unresolved import `std::old_io::Command`. Could not find `old_io` in `std` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:48 use std::old_io::{self, Command}; ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:49:5: 49:36 error: unresolved import `std::old_io::process::InheritFd`. Could not find `old_io` in `std` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:49 use std::old_io::process::InheritFd; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:53:30: 53:34 error: type name `Path` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:53 include_directories: Vec<Path>, ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:53:30: 53:34 help: you can import it into scope: `use std::path::Path;`. .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:55:18: 55:22 error: type name `Path` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:55 objects: Vec<Path>, ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:55:18: 55:22 help: you can import it into scope: `use std::path::Path;`. .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:57:16: 57:20 error: type name `Path` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:57 files: Vec<Path>, ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:57:16: 57:20 help: you can import it into scope: `use std::path::Path;`. .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:61:13: 61:28 error: unresolved name `env::var_string` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:61 let r = env::var_string(v).ok(); ^~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:109:36: 109:40 error: type name `Path` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:109 pub fn include(&mut self, dir: Path) -> &mut Config { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:109:36: 109:40 help: you can import it into scope: `use std::path::Path;`. .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:121:35: 121:39 error: type name `Path` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:121 pub fn object(&mut self, obj: Path) -> &mut Config { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:121:35: 121:39 help: you can import it into scope: `use std::path::Path;`. .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:134:25: 134:34 error: failed to resolve. Use of undeclared type or module `Path` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:134 self.files.push(Path::new(p)); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:190:19: 190:28 error: failed to resolve. Use of undeclared type or module `Path` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:190 let src = Path::new(getenv_unwrap("CARGO_MANIFEST_DIR")); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:191:19: 191:28 error: failed to resolve. Use of undeclared type or module `Path` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:191 let dst = Path::new(getenv_unwrap("OUT_DIR")); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:196:46: 196:67 error: failed to resolve. Could not find `old_io` in `std` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:196 std::old_io::USER_RWX).unwrap(); ^~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:195:13: 195:45 error: failed to resolve. Could not find `old_io` in `std` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:195 std::old_io::fs::mkdir_recursive(&obj.dir_path(), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:321:5: 321:25 error: unresolved name `env::set_exit_status` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:321 env::set_exit_status(1); ^~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:208:40: 208:45 error: no method named `slice` found for type `&str` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:208 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.2.0/src/lib.rs:207:9: 208:68 note: in this expansion of println! (defined in <std macros>) .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:244:29: 244:37 error: no method named `find_str` found for type `&str` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:244 let is_android = target.find_str("android").is_some(); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:244:29: 244: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.2.0/src/lib.rs:244:29: 244:37 help: candidate #1: `use core::str::StrExt` .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:256:29: 256:37 error: no method named `find_str` found for type `&str` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:256 let is_android = target.find_str("android").is_some(); ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:256:29: 256: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.2.0/src/lib.rs:256:29: 256:37 help: candidate #1: `use core::str::StrExt` .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:267:9: 267:14 error: no method named `words` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:267 .words().map(|s| s.to_string()) ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:322:5: 322:30 error: ambiguous associated type; specify the type using the syntax `<[type error] as Trait>::stdio` [E0223] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:322 old_io::stdio::set_stderr(Box::new(old_io::util::NullWriter)); ^~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:322:40: 322:64 error: ambiguous associated type; specify the type using the syntax `<[type error] as Trait>::util` [E0223] .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs:322 old_io::stdio::set_stderr(Box::new(old_io::util::NullWriter)); ^~~~~~~~~~~~~~~~~~~~~~~~ error: Compilation failed, aborting rustdoc thread 'main' panicked at 'ChainedError { error: failed to compile `gcc v0.2.0`, intermediate artifacts can be found at `/home/cratesfyi/gcc-0.2.0`, cause: ChainedError { error: Could not document `gcc`., cause: Process didn't exit successfully: `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.2.0/src/lib.rs --crate-name gcc -o /home/cratesfyi/gcc-0.2.0/doc -L dependency=/home/cratesfyi/gcc-0.2.0/debug -L dependency=/home/cratesfyi/gcc-0.2.0/debug/deps` (exit code: 101) } }', src/bin/cratesfyi.rs:119 note: Run with `RUST_BACKTRACE=1` for a backtrace.