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