GithubHelp home page GithubHelp logo

genetlink's People

Contributors

cathay4t avatar johntitor avatar leo1003 avatar little-dude avatar mcginty avatar mcr avatar stbuehler avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

genetlink's Issues

Tests fails with "--no-default-features"

This invocation to the test fails:

$ cargo test --no-default-features
   Compiling tokio v1.32.0
   Compiling netlink-sys v0.8.5
   Compiling netlink-proto v0.11.2
   Compiling genetlink v0.2.5 (/tmp/genetlink/genetlink)
error[E0432]: unresolved import `crate::new_connection`
  --> src/resolver.rs:96:9
   |
96 |     use crate::new_connection;
   |         ^^^^^^^--------------
   |         |      |
   |         |      help: a similar name exists in the module: `connection`
   |         no `new_connection` in the root

For more information about this error, try `rustc --explain E0432`.
error: could not compile `genetlink` due to previous error

FTBFS trait `netlink_packet_core::traits::NetlinkSerializable` is not implemented for `RawGenlMessage`

Hello,

This issue reports a Fails To Build From Source

After a fresh git clone of this repository and cargo build I do get:

error[E0277]: the trait bound `RawGenlMessage: netlink_packet_core::traits::NetlinkSerializable` is not satisfied
  --> src/connection.rs:30:5
   |
30 |     Connection<RawGenlMessage>,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `netlink_packet_core::traits::NetlinkSerializable` is not implemented for `RawGenlMessage`
   |
note: required by a bound in `Connection`
  --> /home/stappers/.cargo/registry/src/index.crates.io-6f17d22bba15001f/netlink-proto-0.11.2/src/connection.rs:38:16
   |
38 |     T: Debug + NetlinkSerializable + NetlinkDeserializable,
   |                ^^^^^^^^^^^^^^^^^^^ required by this bound in `Connection`

error[E0277]: the trait bound `RawGenlMessage: netlink_packet_core::traits::NetlinkDeserializable` is not satisfied
  --> src/connection.rs:30:5
   |
30 |     Connection<RawGenlMessage>,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `netlink_packet_core::traits::NetlinkDeserializable` is not implemented for `RawGenlMessage`
   |
note: required by a bound in `Connection`
  --> /home/stappers/.cargo/registry/src/index.crates.io-6f17d22bba15001f/netlink-proto-0.11.2/src/connection.rs:38:38
   |
38 |     T: Debug + NetlinkSerializable + NetlinkDeserializable,
   |                                      ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Connection`

error[E0277]: the trait bound `RawGenlMessage: netlink_packet_core::traits::NetlinkSerializable` is not satisfied
  --> src/connection.rs:41:5
   |
41 |     Connection<RawGenlMessage, S>,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `netlink_packet_core::traits::NetlinkSerializable` is not implemented for `RawGenlMessage`
   |
note: required by a bound in `Connection`
  --> /home/stappers/.cargo/registry/src/index.crates.io-6f17d22bba15001f/netlink-proto-0.11.2/src/connection.rs:38:16
   |
38 |     T: Debug + NetlinkSerializable + NetlinkDeserializable,
   |                ^^^^^^^^^^^^^^^^^^^ required by this bound in `Connection`

error[E0277]: the trait bound `RawGenlMessage: netlink_packet_core::traits::NetlinkDeserializable` is not satisfied
  --> src/connection.rs:41:5
   |
41 |     Connection<RawGenlMessage, S>,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `netlink_packet_core::traits::NetlinkDeserializable` is not implemented for `RawGenlMessage`
   |
note: required by a bound in `Connection`
  --> /home/stappers/.cargo/registry/src/index.crates.io-6f17d22bba15001f/netlink-proto-0.11.2/src/connection.rs:38:38
   |
38 |     T: Debug + NetlinkSerializable + NetlinkDeserializable,
   |                                      ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Connection`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `genetlink` (lib) due to 4 previous errors

System information

$ rustc --version
rustc 1.70.0 (90c541806 2023-05-31)
$ cargo --version
cargo 1.70.0 (ec8a8a0ca 2023-04-25)

Further information available on request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.