Skip to content

feature: support fwmark in server side to split outbound tunnel #992

feature: support fwmark in server side to split outbound tunnel

feature: support fwmark in server side to split outbound tunnel #992

Triggered via pull request March 19, 2024 03:19
Status Success
Total duration 2m 10s
Artifacts

clippy-check.yml

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

Annotations

20 warnings
the item `url` is imported redundantly: crates/shadowsocks/src/config.rs#L21
warning: the item `url` is imported redundantly --> crates/shadowsocks/src/config.rs:21:11 | 21 | use url::{self, Url}; | ^^^^ the item `url` is already defined by prelude | = note: `#[warn(unused_imports)]` on by default
the item `ToString` is imported redundantly: crates/shadowsocks/src/manager/protocol.rs#L7
warning: the item `ToString` is imported redundantly --> crates/shadowsocks/src/manager/protocol.rs:7:5 | 7 | string::ToString, | ^^^^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:125:13 | = note: the item `ToString` is already defined here
the item `From` is imported redundantly: crates/shadowsocks/src/relay/socks5.rs#L6
warning: the item `From` is imported redundantly --> crates/shadowsocks/src/relay/socks5.rs:6:5 | 6 | convert::From, | ^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:129:13 | = note: the item `From` is already defined here
the item `Unpin` is imported redundantly: crates/shadowsocks/src/relay/tcprelay/aead.rs#L36
warning: the item `Unpin` is imported redundantly --> crates/shadowsocks/src/relay/tcprelay/aead.rs:36:5 | 36 | marker::Unpin, | ^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:129:13 | = note: the item `Unpin` is already defined here
the item `Unpin` is imported redundantly: crates/shadowsocks/src/relay/tcprelay/aead_2022.rs#L48
warning: the item `Unpin` is imported redundantly --> crates/shadowsocks/src/relay/tcprelay/aead_2022.rs:48:5 | 48 | marker::Unpin, | ^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:129:13 | = note: the item `Unpin` is already defined here
the item `Unpin` is imported redundantly: crates/shadowsocks/src/relay/tcprelay/crypto_io.rs#L5
warning: the item `Unpin` is imported redundantly --> crates/shadowsocks/src/relay/tcprelay/crypto_io.rs:5:5 | 5 | marker::Unpin, | ^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:129:13 | = note: the item `Unpin` is already defined here
the item `Unpin` is imported redundantly: crates/shadowsocks/src/relay/tcprelay/stream.rs#L4
warning: the item `Unpin` is imported redundantly --> crates/shadowsocks/src/relay/tcprelay/stream.rs:4:5 | 4 | marker::Unpin, | ^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:129:13 | = note: the item `Unpin` is already defined here
the item `From` is imported redundantly: crates/shadowsocks-service/src/config.rs#L46
warning: the item `From` is imported redundantly --> crates/shadowsocks-service/src/config.rs:46:15 | 46 | convert::{From, Infallible}, | ^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:129:13 | = note: the item `From` is already defined here | = note: `#[warn(unused_imports)]` on by default
the item `Option` is imported redundantly: crates/shadowsocks-service/src/config.rs#L53
warning: the item `Option` is imported redundantly --> crates/shadowsocks-service/src/config.rs:53:5 | 53 | option::Option, | ^^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:129:13 | = note: the item `Option` is already defined here
the item `ToString` is imported redundantly: crates/shadowsocks-service/src/config.rs#L56
warning: the item `ToString` is imported redundantly --> crates/shadowsocks-service/src/config.rs:56:5 | 56 | string::ToString, | ^^^^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:125:13 | = note: the item `ToString` is already defined here
the item `url` is imported redundantly: crates/shadowsocks/src/config.rs#L21
warning: the item `url` is imported redundantly --> crates/shadowsocks/src/config.rs:21:11 | 21 | use url::{self, Url}; | ^^^^ the item `url` is already defined by prelude | = note: `#[warn(unused_imports)]` on by default
the item `ToString` is imported redundantly: crates/shadowsocks/src/manager/protocol.rs#L7
warning: the item `ToString` is imported redundantly --> crates/shadowsocks/src/manager/protocol.rs:7:5 | 7 | string::ToString, | ^^^^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:125:13 | = note: the item `ToString` is already defined here
the item `From` is imported redundantly: crates/shadowsocks/src/relay/socks5.rs#L6
warning: the item `From` is imported redundantly --> crates/shadowsocks/src/relay/socks5.rs:6:5 | 6 | convert::From, | ^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:129:13 | = note: the item `From` is already defined here
the item `Unpin` is imported redundantly: crates/shadowsocks/src/relay/tcprelay/aead.rs#L36
warning: the item `Unpin` is imported redundantly --> crates/shadowsocks/src/relay/tcprelay/aead.rs:36:5 | 36 | marker::Unpin, | ^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:129:13 | = note: the item `Unpin` is already defined here
the item `Unpin` is imported redundantly: crates/shadowsocks/src/relay/tcprelay/aead_2022.rs#L48
warning: the item `Unpin` is imported redundantly --> crates/shadowsocks/src/relay/tcprelay/aead_2022.rs:48:5 | 48 | marker::Unpin, | ^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:129:13 | = note: the item `Unpin` is already defined here
the item `Unpin` is imported redundantly: crates/shadowsocks/src/relay/tcprelay/crypto_io.rs#L5
warning: the item `Unpin` is imported redundantly --> crates/shadowsocks/src/relay/tcprelay/crypto_io.rs:5:5 | 5 | marker::Unpin, | ^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:129:13 | = note: the item `Unpin` is already defined here
the item `Unpin` is imported redundantly: crates/shadowsocks/src/relay/tcprelay/stream.rs#L4
warning: the item `Unpin` is imported redundantly --> crates/shadowsocks/src/relay/tcprelay/stream.rs:4:5 | 4 | marker::Unpin, | ^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:129:13 | = note: the item `Unpin` is already defined here
the item `From` is imported redundantly: crates/shadowsocks-service/src/config.rs#L46
warning: the item `From` is imported redundantly --> crates/shadowsocks-service/src/config.rs:46:15 | 46 | convert::{From, Infallible}, | ^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:129:13 | = note: the item `From` is already defined here | = note: `#[warn(unused_imports)]` on by default
the item `Option` is imported redundantly: crates/shadowsocks-service/src/config.rs#L53
warning: the item `Option` is imported redundantly --> crates/shadowsocks-service/src/config.rs:53:5 | 53 | option::Option, | ^^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:129:13 | = note: the item `Option` is already defined here
the item `ToString` is imported redundantly: crates/shadowsocks-service/src/config.rs#L56
warning: the item `ToString` is imported redundantly --> crates/shadowsocks-service/src/config.rs:56:5 | 56 | string::ToString, | ^^^^^^^^^^^^^^^^ --> /rustc/3c85e56249b0b1942339a6a989a971bf6f1c9e0f/library/std/src/prelude/mod.rs:125:13 | = note: the item `ToString` is already defined here