Skip to content

fix(deps): update rust crate thiserror to v2 #111

fix(deps): update rust crate thiserror to v2

fix(deps): update rust crate thiserror to v2 #111

Triggered via push November 16, 2024 18:23
Status Success
Total duration 1m 45s
Artifacts

deny-check.yml

on: push
Matrix: cargo-deny
Fit to window
Zoom out
Zoom in

Annotations

2 errors
`?` couldn't convert the error to `relay::udprelay::aead_2022::ProtocolError`: crates/shadowsocks/src/relay/udprelay/aead_2022.rs#L667
error[E0277]: `?` couldn't convert the error to `relay::udprelay::aead_2022::ProtocolError` --> crates/shadowsocks/src/relay/udprelay/aead_2022.rs:667:60 | 636 | ) -> ProtocolResult<(usize, Address, UdpSocketControlData)> { | ------------------------------------------------------ expected `relay::udprelay::aead_2022::ProtocolError` because of this ... 667 | cursor.seek(SeekFrom::Current(padding_size as i64))?; | --------------------------------------------^ the trait `std::convert::From<std::io::Error>` is not implemented for `relay::udprelay::aead_2022::ProtocolError`, which is required by `std::result::Result<(usize, relay::socks5::Address, relay::udprelay::options::UdpSocketControlData), relay::udprelay::aead_2022::ProtocolError>: std::ops::FromResidual<std::result::Result<std::convert::Infallible, std::io::Error>>` | | | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` | = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait = help: the trait `std::ops::FromResidual<std::result::Result<std::convert::Infallible, E>>` is implemented for `std::result::Result<T, F>` = note: required for `Result<(usize, Address, UdpSocketControlData), ProtocolError>` to implement `std::ops::FromResidual<std::result::Result<std::convert::Infallible, std::io::Error>>` = note: the full name for the type has been written to '/home/runner/work/shadowsocks-rust/shadowsocks-rust/target/debug/deps/shadowsocks-975f304ea4f6b041.long-type-4735867180082612191.txt' = note: consider using `--verbose` to print the full type name to the console
`?` couldn't convert the error to `relay::udprelay::aead_2022::ProtocolError`: crates/shadowsocks/src/relay/udprelay/aead_2022.rs#L561
error[E0277]: `?` couldn't convert the error to `relay::udprelay::aead_2022::ProtocolError` --> crates/shadowsocks/src/relay/udprelay/aead_2022.rs:561:60 | 525 | ) -> ProtocolResult<(usize, Address, UdpSocketControlData)> { | ------------------------------------------------------ expected `relay::udprelay::aead_2022::ProtocolError` because of this ... 561 | cursor.seek(SeekFrom::Current(padding_size as i64))?; | --------------------------------------------^ the trait `std::convert::From<std::io::Error>` is not implemented for `relay::udprelay::aead_2022::ProtocolError`, which is required by `std::result::Result<(usize, relay::socks5::Address, relay::udprelay::options::UdpSocketControlData), relay::udprelay::aead_2022::ProtocolError>: std::ops::FromResidual<std::result::Result<std::convert::Infallible, std::io::Error>>` | | | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` | = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait = help: the trait `std::ops::FromResidual<std::result::Result<std::convert::Infallible, E>>` is implemented for `std::result::Result<T, F>` = note: required for `Result<(usize, Address, UdpSocketControlData), ProtocolError>` to implement `std::ops::FromResidual<std::result::Result<std::convert::Infallible, std::io::Error>>` = note: the full name for the type has been written to '/home/runner/work/shadowsocks-rust/shadowsocks-rust/target/debug/deps/shadowsocks-975f304ea4f6b041.long-type-4735867180082612191.txt' = note: consider using `--verbose` to print the full type name to the console