Skip to content

chore(deps): bump webpki-roots from 0.25.3 to 0.26.0 #763

chore(deps): bump webpki-roots from 0.25.3 to 0.26.0

chore(deps): bump webpki-roots from 0.25.3 to 0.26.0 #763

Triggered via pull request December 9, 2023 06:01
Status Failure
Total duration 42s
Artifacts

clippy-check.yml

on: pull_request
Matrix: clippy-check
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 4 warnings
no field `spki` on type `&rustls_pki_types::TrustAnchor<'_>`: crates/shadowsocks-service/src/local/http/http_stream.rs#L95
error[E0609]: no field `spki` on type `&rustls_pki_types::TrustAnchor<'_>` --> crates/shadowsocks-service/src/local/http/http_stream.rs:95:38 | 95 | ... root.spki, | ^^^^ unknown field | = note: available fields are: `subject`, `subject_public_key_info`, `name_constraints`
the trait bound `std::vec::Vec<u8>: std::convert::From<rustls_pki_types::Der<'_>>` is not satisfied: crates/shadowsocks-service/src/local/http/http_stream.rs#L94
error[E0277]: the trait bound `std::vec::Vec<u8>: std::convert::From<rustls_pki_types::Der<'_>>` is not satisfied --> crates/shadowsocks-service/src/local/http/http_stream.rs:94:33 | 93 | ... roots.push(OwnedTrustAnchor::from_subject_spki_name_constraints( | ---------------------------------------------------- required by a bound introduced by this call 94 | ... root.subject, | ^^^^^^^^^^^^ the trait `std::convert::From<rustls_pki_types::Der<'_>>` is not implemented for `std::vec::Vec<u8>` | = help: the following other types implement trait `std::convert::From<T>`: <std::vec::Vec<u8> as std::convert::From<byte_string::ByteString>> <std::vec::Vec<u8> as std::convert::From<bytes::Bytes>> <std::vec::Vec<u8> as std::convert::From<bytes::BytesMut>> <std::vec::Vec<u8> as std::convert::From<std::ffi::CString>> <std::vec::Vec<u8> as std::convert::From<std::string::String>> <std::vec::Vec<u8> as std::convert::From<&str>> = note: required for `rustls_pki_types::Der<'_>` to implement `std::convert::Into<std::vec::Vec<u8>>` note: required by a bound in `tokio_rustls::rustls::OwnedTrustAnchor::from_subject_spki_name_constraints` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-0.21.9/src/anchors.rs:42:23 | 41 | pub fn from_subject_spki_name_constraints( | ---------------------------------- required by a bound in this associated function 42 | subject: impl Into<Vec<u8>>, | ^^^^^^^^^^^^^ required by this bound in `OwnedTrustAnchor::from_subject_spki_name_constraints`
the trait bound `std::vec::Vec<u8>: std::convert::From<rustls_pki_types::Der<'_>>` is not satisfied: crates/shadowsocks-service/src/local/http/http_stream.rs#L96
error[E0277]: the trait bound `std::vec::Vec<u8>: std::convert::From<rustls_pki_types::Der<'_>>` is not satisfied --> crates/shadowsocks-service/src/local/http/http_stream.rs:96:33 | 93 | ... roots.push(OwnedTrustAnchor::from_subject_spki_name_constraints( | ---------------------------------------------------- required by a bound introduced by this call ... 96 | ... root.name_constraints, | ^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<rustls_pki_types::Der<'_>>` is not implemented for `std::vec::Vec<u8>` | = help: the following other types implement trait `std::convert::From<T>`: <std::vec::Vec<u8> as std::convert::From<byte_string::ByteString>> <std::vec::Vec<u8> as std::convert::From<bytes::Bytes>> <std::vec::Vec<u8> as std::convert::From<bytes::BytesMut>> <std::vec::Vec<u8> as std::convert::From<std::ffi::CString>> <std::vec::Vec<u8> as std::convert::From<std::string::String>> <std::vec::Vec<u8> as std::convert::From<&str>> = note: required for `rustls_pki_types::Der<'_>` to implement `std::convert::Into<std::vec::Vec<u8>>` note: required by a bound in `tokio_rustls::rustls::OwnedTrustAnchor::from_subject_spki_name_constraints` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-0.21.9/src/anchors.rs:44:39 | 41 | pub fn from_subject_spki_name_constraints( | ---------------------------------- required by a bound in this associated function ... 44 | name_constraints: Option<impl Into<Vec<u8>>>, | ^^^^^^^^^^^^^ required by this bound in `OwnedTrustAnchor::from_subject_spki_name_constraints`
clippy-check (ubuntu-latest)
Clippy had exited with the 101 exit code
clippy-check (macos-latest)
The job was canceled because "ubuntu-latest" failed.
clippy-check (macos-latest)
The operation was canceled.
clippy-check (windows-latest)
The job was canceled because "ubuntu-latest" failed.
clippy-check (windows-latest)
The operation was canceled.
the borrowed expression implements the required traits: crates/shadowsocks/src/config.rs#L636
warning: the borrowed expression implements the required traits --> crates/shadowsocks/src/config.rs:636:55 | 636 | URL_PASSWORD_BASE64_ENGINE.encode(&user_info) | ^^^^^^^^^^ help: change this to: `user_info` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
unused import: `self::unix::*`: crates/shadowsocks-service/src/local/redir/sys/mod.rs#L9
warning: unused import: `self::unix::*` --> crates/shadowsocks-service/src/local/redir/sys/mod.rs:9:17 | 9 | pub use self::unix::*; | ^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
unused import: `self::linux::*`: crates/shadowsocks-service/src/local/redir/tcprelay/sys/unix/mod.rs#L6
warning: unused import: `self::linux::*` --> crates/shadowsocks-service/src/local/redir/tcprelay/sys/unix/mod.rs:6:17 | 6 | pub use self::linux::*; | ^^^^^^^^^^^^^^
unused import: `self::unix::*`: crates/shadowsocks-service/src/local/redir/tcprelay/sys/mod.rs#L6
warning: unused import: `self::unix::*` --> crates/shadowsocks-service/src/local/redir/tcprelay/sys/mod.rs:6:17 | 6 | pub use self::unix::*; | ^^^^^^^^^^^^^