feat: local-tun compilable for not-supported platforms #1059
GitHub Actions / clippy ubuntu-latest
failed
May 24, 2024 in 1s
clippy ubuntu-latest
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0 (9b00956e5 2024-04-29)
- cargo 1.78.0 (54d8815d0 2024-03-26)
- clippy 0.1.78 (9b00956 2024-04-29)
Annotations
Check failure on line 21 in crates/shadowsocks-service/src/local/tun/sys/unix/linux.rs
github-actions / clippy ubuntu-latest
cannot find trait `Write` in this scope
error[E0405]: cannot find trait `Write` in this scope
--> crates/shadowsocks-service/src/local/tun/sys/unix/linux.rs:21:15
|
21 | Q: Read + Write,
| ^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use core::fmt::Write;
|
1 + use crate::local::io::Write;
|
1 + use hyper::rt::Write;
|
1 + use std::fmt::Write;
|
and 1 other candidate
Check failure on line 21 in crates/shadowsocks-service/src/local/tun/sys/unix/linux.rs
github-actions / clippy ubuntu-latest
cannot find trait `Read` in this scope
error[E0405]: cannot find trait `Read` in this scope
--> crates/shadowsocks-service/src/local/tun/sys/unix/linux.rs:21:8
|
21 | Q: Read + Write,
| ^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::local::io::Read;
|
1 + use hyper::rt::Read;
|
1 + use std::io::Read;
|
Loading