Update tokio-tungstenite requirement from 0.24.0 to 0.25.0 #3636
Annotations
5 errors and 1 warning
mismatched types:
kube-client/src/api/remote_command.rs#L382
error[E0308]: mismatched types
--> kube-client/src/api/remote_command.rs:382:55
|
382 | STDOUT_CHANNEL => Some(Ok(Message::Stdout(bin))),
| --------------- ^^^- help: try using a conversion method: `.to_vec()`
| | |
| | expected `Vec<u8>`, found `Bytes`
| arguments to this enum variant are incorrect
|
= note: expected struct `std::vec::Vec<u8>`
found struct `bytes::Bytes`
note: tuple variant defined here
--> kube-client/src/api/remote_command.rs:369:5
|
369 | Stdout(Vec<u8>),
| ^^^^^^
|
mismatched types:
kube-client/src/api/remote_command.rs#L383
error[E0308]: mismatched types
--> kube-client/src/api/remote_command.rs:383:55
|
383 | STDERR_CHANNEL => Some(Ok(Message::Stderr(bin))),
| --------------- ^^^- help: try using a conversion method: `.to_vec()`
| | |
| | expected `Vec<u8>`, found `Bytes`
| arguments to this enum variant are incorrect
|
= note: expected struct `std::vec::Vec<u8>`
found struct `bytes::Bytes`
note: tuple variant defined here
--> kube-client/src/api/remote_command.rs:371:5
|
371 | Stderr(Vec<u8>),
| ^^^^^^
|
mismatched types:
kube-client/src/api/remote_command.rs#L384
error[E0308]: mismatched types
--> kube-client/src/api/remote_command.rs:384:55
|
384 | STATUS_CHANNEL => Some(Ok(Message::Status(bin))),
| --------------- ^^^- help: try using a conversion method: `.to_vec()`
| | |
| | expected `Vec<u8>`, found `Bytes`
| arguments to this enum variant are incorrect
|
= note: expected struct `std::vec::Vec<u8>`
found struct `bytes::Bytes`
note: tuple variant defined here
--> kube-client/src/api/remote_command.rs:373:5
|
373 | Status(Vec<u8>),
| ^^^^^^
|
mismatched types:
kube-client/src/api/remote_command.rs#L353
error[E0308]: mismatched types
--> kube-client/src/api/remote_command.rs:353:62
|
353 | server_send.send(ws::Message::Binary(vec)).await.map_err(Error::SendTerminalSize)?;
| ------------------- ^^^ expected `Bytes`, found `Vec<u8>`
| |
| arguments to this enum variant are incorrect
|
= note: expected struct `bytes::Bytes`
found struct `std::vec::Vec<u8>`
note: tuple variant defined here
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tungstenite-0.26.1/src/protocol/message.rs:162:5
|
162 | Binary(Bytes),
| ^^^^^^
help: call `Into::into` on this expression to convert `std::vec::Vec<u8>` into `bytes::Bytes`
|
353 | server_send.send(ws::Message::Binary(vec.into())).await.map_err(Error::SendTerminalSize)?;
| +++++++
|
clippy_nightly
Clippy has exited with exit code 101
|
clippy_nightly
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|