1 error: handle written amount returned or use `Write::write_all` instead
2 --> $DIR/unused_io_amount.rs:10:5
4 10 | try!(s.write(b"test"));
5 | ^^^^^^^^^^^^^^^^^^^^^^^
7 = note: #[deny(unused_io_amount)] on by default
8 = note: this error originates in a macro outside of the current crate
10 error: handle read amount returned or use `Read::read_exact` instead
11 --> $DIR/unused_io_amount.rs:12:5
13 12 | try!(s.read(&mut buf));
14 | ^^^^^^^^^^^^^^^^^^^^^^^
16 = note: #[deny(unused_io_amount)] on by default
17 = note: this error originates in a macro outside of the current crate
19 error: handle written amount returned or use `Write::write_all` instead
20 --> $DIR/unused_io_amount.rs:17:5
22 17 | s.write(b"test")?;
25 = note: #[deny(unused_io_amount)] on by default
27 error: handle read amount returned or use `Read::read_exact` instead
28 --> $DIR/unused_io_amount.rs:20:5
30 20 | s.read(&mut buf)?;
33 = note: #[deny(unused_io_amount)] on by default
35 error: handle written amount returned or use `Write::write_all` instead
36 --> $DIR/unused_io_amount.rs:26:5
38 26 | s.write(b"test").unwrap();
39 | ^^^^^^^^^^^^^^^^^^^^^^^^^
41 = note: #[deny(unused_io_amount)] on by default
43 error: handle read amount returned or use `Read::read_exact` instead
44 --> $DIR/unused_io_amount.rs:29:5
46 29 | s.read(&mut buf).unwrap();
47 | ^^^^^^^^^^^^^^^^^^^^^^^^^
49 = note: #[deny(unused_io_amount)] on by default
51 error: aborting due to 6 previous errors