cli 0.0.1

One Rust crate for creating beautiful command line applications.
Build #54839 2017-06-04T06:06:53.996827+00:00
# rustc version
rustc 1.19.0-dev (28a93c1f4 2017-05-31)# docs.rs version
cratesfyi 0.4.0-dev (bedcc0c 2017-06-01)# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading cli v0.0.1
Fresh getopts v0.2.14
Documenting cli v0.0.1
Running `rustdoc --crate-name cli .cargo/registry/src/github.com-1ecc6299db9ec823/cli-0.0.1/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern getopts=/home/cratesfyi/cratesfyi/debug/deps/libgetopts-053a5c69d340fdf8.rlib --extern-version getopts=getopts,0.2.14`
error[E0432]: unresolved import `std::old_io`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cli-0.0.1/src/term.rs:5:5
|
5 | use std::old_io;
|     ^^^^^^^^^^^ no `old_io` in the root

error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cli-0.0.1/src/term.rs:185:36
|
185 |         try!(f.write_str(self.text.as_slice()));
|                                    ^^^^^^^^

error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cli-0.0.1/src/term.rs:228:53
|
228 |         prompt_input = get_prompt_input(prompt_text.as_slice(), hide_input);
|                                                     ^^^^^^^^

error[E0599]: no associated item named `from_str` found for type `std::string::String` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cli-0.0.1/src/term.rs:229:28
|
229 |         if prompt_input != String::from_str("") {
|                            ^^^^^^^^^^^^^^^^
|
= 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:
= help: candidate #1: `use std::str::FromStr;`

error[E0599]: no associated item named `from_str` found for type `std::string::String` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cli-0.0.1/src/term.rs:242:29
|
242 |         if confirm_input != String::from_str("") {
|                             ^^^^^^^^^^^^^^^^
|
= 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:
= help: candidate #1: `use std::str::FromStr;`

error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cli-0.0.1/src/term.rs:269:57
|
269 |         let prompt_input = get_prompt_input(prompt_text.as_slice(), false).to_ascii_lowercase();
|                                                         ^^^^^^^^

error: Compilation failed, aborting rustdoc

thread 'main' panicked at 'ChainedError {
error: Could not document `cli`.,
cause: process didn't exit successfully: `rustdoc --crate-name cli .cargo/registry/src/github.com-1ecc6299db9ec823/cli-0.0.1/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern getopts=/home/cratesfyi/cratesfyi/debug/deps/libgetopts-053a5c69d340fdf8.rlib --extern-version getopts=getopts,0.2.14` (exit code: 101)
}', src/bin/cratesfyi.rs:136
note: Run with `RUST_BACKTRACE=1` for a backtrace.