cppStream 0.1.1

a wrapper brings `<<` and `>>` operator to rust's writer/reader/stream like what C++ did
Build #56782 2017-06-05 08:24:19

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.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 cppStream v0.1.1
Documenting cppStream v0.1.1
Running `rustdoc --crate-name cppStream .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -L dependency=/home/cratesfyi/cratesfyi/debug/deps`
error: expected expression, found `]`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:64:42
|
64 |         *output = FromStr::from_str(&buf[]).unwrap_or_default();
|                                          ^

error: expected one of `.`, `;`, `<`, `?`, `break`, `continue`, `false`, `for`, `if`, `loop`, `match`, `move`, `return`, `true`, `unsafe`, `while`, `}`, or an operator, found `]`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:64:42
|
64 |         *output = FromStr::from_str(&buf[]).unwrap_or_default();
|                                          ^ expected one of 18 possible tokens here

error: invalid suffix `is` for numeric literal
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:88:20
|
88 |     for _ in range(0is,5) {
|                    ^^^
|
= help: the suffix must be one of the integral types (`u32`, `isize`, etc)

error: invalid suffix `is` for numeric literal
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:89:21
|
89 |         let mut d = 0is;
|                     ^^^
|
= help: the suffix must be one of the integral types (`u32`, `isize`, etc)

error: invalid suffix `is` for numeric literal
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:74:19
|
74 |         vecout << 1is << 2us << 3f64 << "good C++" << endl;
|                   ^^^
|
= help: the suffix must be one of the integral types (`u32`, `isize`, etc)

error: invalid suffix `us` for numeric literal
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:74:26
|
74 |         vecout << 1is << 2us << 3f64 << "good C++" << endl;
|                          ^^^
|
= help: the suffix must be one of the integral types (`u32`, `isize`, etc)

error: invalid suffix `is` for numeric literal
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:84:13
|
84 |     cout << 1is << 2us << 3f64 << endl;
|             ^^^
|
= help: the suffix must be one of the integral types (`u32`, `isize`, etc)

error: invalid suffix `us` for numeric literal
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:84:20
|
84 |     cout << 1is << 2us << 3f64 << endl;
|                    ^^^
|
= help: the suffix must be one of the integral types (`u32`, `isize`, etc)

error: expected expression, found `]`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/iostream.rs:105:42
|
105 |         *output = FromStr::from_str(&buf[]).unwrap_or_default();
|                                          ^

error: expected one of `.`, `;`, `<`, `?`, `break`, `continue`, `false`, `for`, `if`, `loop`, `match`, `move`, `return`, `true`, `unsafe`, `while`, `}`, or an operator, found `]`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/iostream.rs:105:42
|
105 |         *output = FromStr::from_str(&buf[]).unwrap_or_default();
|                                          ^ expected one of 18 possible tokens here

error: invalid suffix `is` for numeric literal
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/iostream.rs:129:17
|
129 |     let mut a = 0is;
|                 ^^^
|
= help: the suffix must be one of the integral types (`u32`, `isize`, etc)

error[E0432]: unresolved import `std::io::RefReader`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:6:15
|
6 | use std::io::{RefReader,ByRefReader};
|               ^^^^^^^^^ no `RefReader` in `io`. Did you mean to use `BufReader`?

error[E0432]: unresolved import `std::io::ByRefReader`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:6:25
|
6 | use std::io::{RefReader,ByRefReader};
|                         ^^^^^^^^^^^ no `ByRefReader` in `io`. Did you mean to use `BufReader`?

error[E0432]: unresolved import `std::io::stdio::StdinReader`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:7:5
|
7 | use std::io::stdio::StdinReader;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StdinReader` in `io::stdio`

error[E0432]: unresolved import `std::io::ByRefWriter`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:6:15
|
6 | use std::io::{ByRefWriter,RefWriter};
|               ^^^^^^^^^^^ no `ByRefWriter` in `io`. Did you mean to use `BufWriter`?

error[E0432]: unresolved import `std::io::RefWriter`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:6:27
|
6 | use std::io::{ByRefWriter,RefWriter};
|                           ^^^^^^^^^ no `RefWriter` in `io`. Did you mean to use `BufWriter`?

error[E0432]: unresolved import `std::io::LineBufferedWriter`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:7:5
|
7 | use std::io::LineBufferedWriter;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `LineBufferedWriter` in `io`

error[E0432]: unresolved import `std::io::stdio::StdWriter`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:8:5
|
8 | use std::io::stdio::StdWriter;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `StdWriter` in `io::stdio`

error[E0432]: unresolved import `std::io::Stream`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/iostream.rs:6:5
|
6 | use std::io::Stream;
|     ^^^^^^^^^^^^^^^ no `Stream` in `io`

error[E0432]: unresolved import `std::io::Writer`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/iostream.rs:7:15
|
7 | use std::io::{Writer,Reader};
|               ^^^^^^ no `Writer` in `io`. Did you mean to use `Write`?

error[E0432]: unresolved import `std::io::Reader`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/iostream.rs:7:22
|
7 | use std::io::{Writer,Reader};
|                      ^^^^^^ no `Reader` in `io`. Did you mean to use `Read`?

error[E0432]: unresolved import `std::io::IoResult`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/iostream.rs:8:5
|
8 | use std::io::IoResult;
|     ^^^^^^^^^^^^^^^^^ no `IoResult` in `io`. Did you mean to use `Result`?

error[E0405]: cannot find trait `Reader` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:10:32
|
10 | pub struct IStream<R> where R: Reader {
|                                ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Reader` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:14:29
|
14 | impl<R> IStream<R> where R: Reader {
|                             ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Reader` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:22:51
|
22 | pub trait ToIStream<'a> where Self: ByRefReader + Reader + Sized {
|                                                   ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Reader` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:28:55
|
28 | impl<'a,B> ToIStream<'a> for B where B: ByRefReader + Reader + Sized {}
|                                                       ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Reader` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:30:33
|
30 | pub trait AsIStream where Self: Reader + Sized {
|                                 ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Reader` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:36:34
|
36 | impl<R> AsIStream for R where R: Reader + Sized {}
|                                  ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Reader` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:38:39
|
38 | impl<R> Clone for IStream<R> where R: Reader {
|                                       ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Reader` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:46:53
|
46 | impl<'b,F,R> Shr<&'b mut F> for IStream<R> where R: Reader, F: FromStr + Default {
|                                                     ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Reader` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:71:53
|
71 | pub fn istream<R>(reader: R) -> IStream<R> where R: Reader {
|                                                     ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Writer` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:11:32
|
11 | pub struct OStream<W> where W: Writer {
|                                ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Writer` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:15:29
|
15 | impl<W> OStream<W> where W: Writer {
|                             ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Writer` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:23:51
|
23 | pub trait ToOStream<'a> where Self: ByRefWriter + Writer + Sized {
|                                                   ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Writer` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:29:55
|
29 | impl<'a,B> ToOStream<'a> for B where B: ByRefWriter + Writer {}
|                                                       ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Writer` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:31:33
|
31 | pub trait AsOStream where Self: Writer + Sized {
|                                 ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Writer` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:37:34
|
37 | impl<W> AsOStream for W where W: Writer {}
|                                  ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Writer` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:39:42
|
39 | impl<W,T> Shl<T> for OStream<W> where W: Writer, T: fmt::Show {
|                                          ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Show` in module `fmt`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:39:58
|
39 | impl<W,T> Shl<T> for OStream<W> where W: Writer, T: fmt::Show {
|                                                          ^^^^ not found in `fmt`

error[E0405]: cannot find trait `Writer` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:50:39
|
50 | impl<W> Clone for OStream<W> where W: Writer {
|                                       ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Writer` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:65:53
|
65 | pub fn ostream<R>(writer: R) -> OStream<R> where R: Writer {
|                                                     ^^^^^^ not found in this scope

error[E0405]: cannot find trait `Show` in module `fmt`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/iostream.rs:75:59
|
75 | impl<S,T> Shl<T> for IOStream<S> where S: Stream, T: fmt::Show {
|                                                           ^^^^ not found in `fmt`

error: module `stdio` is private
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/istream.rs:7:5
|
7 | use std::io::stdio::StdinReader;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: module `stdio` is private
--> .cargo/registry/src/github.com-1ecc6299db9ec823/cppStream-0.1.1/src/ostream.rs:8:5
|
8 | use std::io::stdio::StdWriter;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot continue compilation due to previous error

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