rust-netlink / genetlink Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.