Skip to content

Merge pull request #106 from flokli/bump-nix-crate #531

Merge pull request #106 from flokli/bump-nix-crate

Merge pull request #106 from flokli/bump-nix-crate #531

GitHub Actions / clippy failed Mar 29, 2024 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.79.0-nightly (c9f8f3438 2024-03-27)
  • cargo 1.79.0-nightly (499a61ce7 2024-03-26)
  • clippy 0.1.79 (c9f8f34 2024-03-27)

Annotations

Check failure on line 101 in src/ffi.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `addr_type` is never read

error: field `addr_type` is never read
   --> src/ffi.rs:101:9
    |
98  | pub struct Hostent {
    |            ------- field in this struct
...
101 |     pub addr_type: i32,
    |         ^^^^^^^^^
    |
    = note: `Hostent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
    = note: `-D dead-code` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(dead_code)]`