leveldb-rs 0.0.3

Bindings to the LevelDB key/value storage library (https://github.com/google/leveldb)
Build #1751 2016-07-31T20:04:13.344543+00:00
# 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 leveldb-rs v0.0.3
Downloading leveldb-sys v0.0.1
Compiling leveldb-sys v0.0.1
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs --crate-name build_script_build --crate-type bin -g --out-dir /home/cratesfyi/leveldb-rs-0.0.3/debug/build/leveldb-sys-22868c8bff43452f --emit=dep-info,link -L dependency=/home/cratesfyi/leveldb-rs-0.0.3/debug/deps -L dependency=/home/cratesfyi/leveldb-rs-0.0.3/debug/deps --cap-lints allow`
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:3:15: 3:29 error: unresolved import `std::io::BufferedReader`. There is no `BufferedReader` in `std::io` [E0432]
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:3 use std::io::{BufferedReader, Command, File, fs};
^~~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:3:15: 3:29 help: run `rustc --explain E0432` to see a detailed explanation
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:3:31: 3:38 error: unresolved import `std::io::Command`. There is no `Command` in `std::io` [E0432]
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:3 use std::io::{BufferedReader, Command, File, fs};
^~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:3:31: 3:38 help: run `rustc --explain E0432` to see a detailed explanation
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:3:40: 3:44 error: unresolved import `std::io::File`. There is no `File` in `std::io` [E0432]
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:3 use std::io::{BufferedReader, Command, File, fs};
^~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:3:40: 3:44 help: run `rustc --explain E0432` to see a detailed explanation
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:3:46: 3:48 error: unresolved import `std::io::fs`. There is no `fs` in `std::io` [E0432]
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:3 use std::io::{BufferedReader, Command, File, fs};
^~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:3:46: 3:48 help: run `rustc --explain E0432` to see a detailed explanation
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:45:29: 45:39 error: unresolved name `os::getenv` [E0425]
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:45     let out_dir = Path::new(os::getenv("OUT_DIR").unwrap());
^~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:45:29: 45:39 help: run `rustc --explain E0425` to see a detailed explanation
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:66:50: 66:66 error: unresolved name `os::env_as_bytes` [E0425]
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:66     let mut env_map: HashMap<CString, CString> = os::env_as_bytes().into_iter().map(|(k, v)| {
^~~~~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:66:50: 66:66 help: run `rustc --explain E0425` to see a detailed explanation
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:74:27: 74:37 error: unresolved name `os::getenv` [E0425]
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:74         let linker_path = os::getenv("OUT_DIR").unwrap();
^~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:74:27: 74:37 help: run `rustc --explain E0425` to see a detailed explanation
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:100:29: 100:39 error: unresolved name `os::getenv` [E0425]
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:100     let out_dir = Path::new(os::getenv("OUT_DIR").unwrap());
^~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:100:29: 100:39 help: run `rustc --explain E0425` to see a detailed explanation
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:109:23: 109:33 error: unresolved name `os::getenv` [E0425]
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:109     let have_snappy = os::getenv("CARGO_FEATURE_SNAPPY").is_some();
^~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:109:23: 109:33 help: run `rustc --explain E0425` to see a detailed explanation
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:160:19: 160:29 error: unresolved name `os::getenv` [E0425]
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:160     let out_dir = os::getenv("OUT_DIR").unwrap();
^~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:160:19: 160:29 help: run `rustc --explain E0425` to see a detailed explanation
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:28:51: 28:57 error: no method named `as_str` found for type `std::path::PathBuf` in the current scope 
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:28     Command::new("make").args(&["-C", snappy_path.as_str().unwrap()])
^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:40:51: 40:57 error: no method named `as_str` found for type `std::path::PathBuf` in the current scope 
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:40     Command::new("make").args(&["-C", snappy_path.as_str().unwrap()])
^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:59:52: 59:58 error: no method named `as_str` found for type `std::path::PathBuf` in the current scope 
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:59     Command::new("make").args(&["-C", leveldb_path.as_str().unwrap()])
^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:68:13: 68:32 error: no associated item named `from_slice` found for type `std::ffi::CString` in the current scope 
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:68             CString::from_slice(k.as_slice()),
^~~~~~~~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:69:13: 69:32 error: no associated item named `from_slice` found for type `std::ffi::CString` in the current scope 
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:69             CString::from_slice(v.as_slice())
^~~~~~~~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:76:13: 76:32 error: no associated item named `from_slice` found for type `std::ffi::CString` in the current scope 
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:76             CString::from_slice("LDFLAGS".as_bytes()),
^~~~~~~~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:77:13: 77:32 error: no associated item named `from_slice` found for type `std::ffi::CString` in the current scope 
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:77             CString::from_slice(format!("-L{}", linker_path).as_bytes())
^~~~~~~~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:83:13: 83:32 error: no associated item named `from_slice` found for type `std::ffi::CString` in the current scope 
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:83             CString::from_slice("CXXFLAGS".as_bytes()),
^~~~~~~~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:84:13: 84:32 error: no associated item named `from_slice` found for type `std::ffi::CString` in the current scope 
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:84             CString::from_slice(format!("-I{} -fPIC", snappy_path.as_str().unwrap()).as_bytes())
^~~~~~~~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:84:67: 84:73 error: no method named `as_str` found for type `std::path::PathBuf` in the current scope 
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:84             CString::from_slice(format!("-I{} -fPIC", snappy_path.as_str().unwrap()).as_bytes())
^~~~~~
<std macros>:2:28: 2:59 note: in this expansion of format_args!
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:84:33: 84:85 note: in this expansion of format! (defined in <std macros>)
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:94:40: 94:46 error: no method named `as_str` found for type `std::path::PathBuf` in the current scope 
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:94             .args(&["-C", leveldb_path.as_str().unwrap()])
^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:150:30: 150:38 error: no method named `as_slice` found for type `&std::string::String` in the current scope 
.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs:150             f.write_str(line.as_slice());
^~~~~~~~
error: aborting due to 12 previous errors 
thread 'main' panicked at 'ChainedError {
error: failed to compile `leveldb-rs v0.0.3`, intermediate artifacts can be found at `/home/cratesfyi/leveldb-rs-0.0.3`,
cause: ChainedError {
error: Could not compile `leveldb-sys`.,
cause: Process didn't exit successfully: `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-0.0.1/src/build.rs --crate-name build_script_build --crate-type bin -g --out-dir /home/cratesfyi/leveldb-rs-0.0.3/debug/build/leveldb-sys-22868c8bff43452f --emit=dep-info,link -L dependency=/home/cratesfyi/leveldb-rs-0.0.3/debug/deps -L dependency=/home/cratesfyi/leveldb-rs-0.0.3/debug/deps --cap-lints allow` (exit code: 101)
}
}', src/bin/cratesfyi.rs:119
note: Run with `RUST_BACKTRACE=1` for a backtrace.