2022-06-16 10:39:06 -05:00
|
|
|
error: reading zero byte data to `Vec`
|
2023-07-31 16:53:53 -05:00
|
|
|
--> $DIR/read_zero_byte_vec.rs:21:5
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
|
LL | f.read_exact(&mut data).unwrap();
|
2023-11-07 03:57:31 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `data.resize(20, 0); f.read_exact(&mut data)`
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
|
= note: `-D clippy::read-zero-byte-vec` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::read_zero_byte_vec)]`
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
error: reading zero byte data to `Vec`
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/read_zero_byte_vec.rs:27:5
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
|
LL | f.read_exact(&mut data2)?;
|
2023-11-07 03:57:31 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `data2.resize(cap, 0); f.read_exact(&mut data2)`
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
error: reading zero byte data to `Vec`
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/read_zero_byte_vec.rs:32:5
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
|
LL | f.read_exact(&mut data3)?;
|
2023-11-07 03:57:31 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
error: reading zero byte data to `Vec`
|
2023-11-07 03:57:31 -06:00
|
|
|
--> $DIR/read_zero_byte_vec.rs:37:13
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
|
LL | let _ = f.read(&mut data4)?;
|
2023-11-07 03:57:31 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
error: reading zero byte data to `Vec`
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/read_zero_byte_vec.rs:43:9
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
|
LL | f.read(&mut data5)
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: reading zero byte data to `Vec`
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/read_zero_byte_vec.rs:50:9
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
|
LL | f.read(&mut data6)
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: reading zero byte data to `Vec`
|
2023-11-07 03:57:31 -06:00
|
|
|
--> $DIR/read_zero_byte_vec.rs:84:9
|
|
|
|
|
|
|
|
|
LL | f.read(&mut v)?;
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: reading zero byte data to `Vec`
|
|
|
|
--> $DIR/read_zero_byte_vec.rs:94:5
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
|
LL | r.read(&mut data).await.unwrap();
|
2023-11-07 03:57:31 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
error: reading zero byte data to `Vec`
|
2023-11-07 03:57:31 -06:00
|
|
|
--> $DIR/read_zero_byte_vec.rs:99:5
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
|
LL | r.read_exact(&mut data2).await.unwrap();
|
2023-11-07 03:57:31 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
error: reading zero byte data to `Vec`
|
2023-11-07 03:57:31 -06:00
|
|
|
--> $DIR/read_zero_byte_vec.rs:106:5
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
|
LL | r.read(&mut data).await.unwrap();
|
2023-11-07 03:57:31 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
error: reading zero byte data to `Vec`
|
2023-11-07 03:57:31 -06:00
|
|
|
--> $DIR/read_zero_byte_vec.rs:111:5
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
|
LL | r.read_exact(&mut data2).await.unwrap();
|
2023-11-07 03:57:31 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-06-16 10:39:06 -05:00
|
|
|
|
2023-11-07 03:57:31 -06:00
|
|
|
error: aborting due to 11 previous errors
|
2022-06-16 10:39:06 -05:00
|
|
|
|