[go: up one dir, main page]

getopts 0.1.3

getopts-like option parsing.
Build #596 2016-07-30 17:45:03

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 getopts v0.1.3
Documenting getopts v0.1.3
Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs --crate-name getopts -o /home/cratesfyi/getopts-0.1.3/doc -L dependency=/home/cratesfyi/getopts-0.1.3/debug -L dependency=/home/cratesfyi/getopts-0.1.3/debug/deps`
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:222:24: 222:26 error: invalid suffix `u` for numeric literal 
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:222         if nm.len() == 1u {
^~
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:222:24: 222:26 help: the suffix must be one of the integral types (`u32`, `isize`, etc) 
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:223:30: 223:32 error: invalid suffix `u` for numeric literal 
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:223             Short(nm.char_at(0u))
^~
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:223:30: 223:32 help: the suffix must be one of the integral types (`u32`, `isize`, etc) 
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:665:20: 665:22 error: invalid suffix `u` for numeric literal 
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:665     for i in range(0u, n_opts) {
^~
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:665:20: 665:22 help: the suffix must be one of the integral types (`u32`, `isize`, etc) 
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:862:24: 862:34 error: obsolete syntax: `:`, `&mut:`, or `&:` 
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:862     let mut machine = |&mut: cont: &mut bool, (i, c): (uint, char)| {
^~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:862:24: 862:34 note: rely on inference instead 
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:299:42: 299:46 error: type name `uint` is undefined or not in scope [E0412]
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:299     pub fn opt_count(&self, nm: &str) -> uint {
^~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:299:42: 299:46 help: no candidates by the name of `uint` found in your project; maybe you misspelled the name or forgot to import an external crate? 
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:365:47: 365:51 error: type name `uint` is undefined or not in scope [E0412]
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:365 fn find_opt(opts: &[Opt], nm: Name) -> Option<uint> {
^~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:365:47: 365:51 help: no candidates by the name of `uint` found in your project; maybe you misspelled the name or forgot to import an external crate? 
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:527:6: 527:15 error: trait `fmt::Show` is not in scope [E0405]
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:527 impl fmt::Show for Fail {
^~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:527:6: 527:15 help: no candidates by the name of `Show` found in your project; maybe you misspelled the name or forgot to import an external crate? 
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:561:14: 561:18 error: type name `uint` is undefined or not in scope [E0412]
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:561     fn f(_x: uint) -> Vec<Optval> { return Vec::new(); }
^~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:561:14: 561:18 help: no candidates by the name of `uint` found in your project; maybe you misspelled the name or forgot to import an external crate? 
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:563:20: 563:25 error: unresolved name `range` [E0425]
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:563     let mut vals = range(0, n_opts).map(f).collect::<Vec<_>>();
^~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:665:14: 665:19 error: unresolved name `range` [E0425]
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:665     for i in range(0u, n_opts) {
^~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:733:22: 733:27 error: unresolved name `range` [E0425]
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:733             for _ in range(0, 24 - rowlen) {
^~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:844:47: 844:51 error: type name `uint` is undefined or not in scope [E0412]
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:844 fn each_split_within<'a, F>(ss: &'a str, lim: uint, mut it: F)
^~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:844:47: 844:51 help: no candidates by the name of `uint` found in your project; maybe you misspelled the name or forgot to import an external crate? 
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:862:56: 862:60 error: type name `uint` is undefined or not in scope [E0412]
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:862     let mut machine = |&mut: cont: &mut bool, (i, c): (uint, char)| {
^~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs:862:56: 862:60 help: no candidates by the name of `uint` found in your project; maybe you misspelled the name or forgot to import an external crate? 
error: cannot continue compilation due to previous error 
thread 'main' panicked at 'ChainedError {
error: failed to compile `getopts v0.1.3`, intermediate artifacts can be found at `/home/cratesfyi/getopts-0.1.3`,
cause: ChainedError {
error: Could not document `getopts`.,
cause: Process didn't exit successfully: `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.1.3/src/lib.rs --crate-name getopts -o /home/cratesfyi/getopts-0.1.3/doc -L dependency=/home/cratesfyi/getopts-0.1.3/debug -L dependency=/home/cratesfyi/getopts-0.1.3/debug/deps` (exit code: 101)
}
}', src/bin/cratesfyi.rs:119
note: Run with `RUST_BACKTRACE=1` for a backtrace.