Skip to content

Merge pull request #54 from mstyura/fix-sockaddr-to-c-conversion #63

Merge pull request #54 from mstyura/fix-sockaddr-to-c-conversion

Merge pull request #54 from mstyura/fix-sockaddr-to-c-conversion #63

GitHub Actions / clippy failed Aug 21, 2024 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.80.1 (3f5fd8dd4 2024-08-06)
  • cargo 1.80.1 (376290515 2024-07-16)
  • clippy 0.1.80 (3f5fd8dd 2024-08-06)

Annotations

Check failure on line 7 in system-configuration-sys/src/network_reachability.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unexpected `cfg` condition value: `cargo-clippy`

error: unexpected `cfg` condition value: `cargo-clippy`
 --> system-configuration-sys/src/network_reachability.rs:7:13
  |
7 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::unreadable_literal))]
  |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
  |
  = note: no expected values for `feature`
  = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
  = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
  = note: `-D unexpected-cfgs` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(unexpected_cfgs)]`

Check failure on line 7 in system-configuration-sys/src/network_reachability.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

`feature = "cargo-clippy"` was replaced by `clippy`

error: `feature = "cargo-clippy"` was replaced by `clippy`
 --> system-configuration-sys/src/network_reachability.rs:7:13
  |
7 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::unreadable_literal))]
  |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy`
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_clippy_cfg_attr
  = note: `-D clippy::deprecated-clippy-cfg-attr` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(clippy::deprecated_clippy_cfg_attr)]`