-
-
Save dmitris/072a5b8cd6ef90d7d7a1777790121483 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cargo test --all | |
warning: output filename collision. | |
The example target `dump_rules` in package `netlink-packet-route v0.5.0 (/home/dmitris/dev/hack/github.com/little-dude/netlink/netlink-packet-route)` has the same output filename as the example target `dump_rules` in package `audit v0.2.1 (/home/dmitris/dev/hack/github.com/little-dude/netlink/audit)`. | |
Colliding filename is: /home/dmitris/dev/hack/github.com/little-dude/netlink/target/debug/examples/dump_rules | |
The targets should have unique names. | |
Consider changing their names to be unique or compiling them separately. | |
This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>. | |
warning: output filename collision. | |
The example target `dump_links` in package `netlink-proto v0.4.1 (/home/dmitris/dev/hack/github.com/little-dude/netlink/netlink-proto)` has the same output filename as the example target `dump_links` in package `netlink-packet-route v0.5.0 (/home/dmitris/dev/hack/github.com/little-dude/netlink/netlink-packet-route)`. | |
Colliding filename is: /home/dmitris/dev/hack/github.com/little-dude/netlink/target/debug/examples/dump_links | |
The targets should have unique names. | |
Consider changing their names to be unique or compiling them separately. | |
This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>. | |
warning: output filename collision. | |
The example target `audit_events` in package `netlink-sys v0.4.0 (/home/dmitris/dev/hack/github.com/little-dude/netlink/netlink-sys)` has the same output filename as the example target `audit_events` in package `netlink-proto v0.4.1 (/home/dmitris/dev/hack/github.com/little-dude/netlink/netlink-proto)`. | |
Colliding filename is: /home/dmitris/dev/hack/github.com/little-dude/netlink/target/debug/examples/audit_events | |
The targets should have unique names. | |
Consider changing their names to be unique or compiling them separately. | |
This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>. | |
Compiling netlink-packet-sock-diag v0.1.0 (/home/dmitris/dev/hack/github.com/little-dude/netlink/netlink-packet-sock-diag) | |
Compiling netlink-packet-route v0.5.0 (/home/dmitris/dev/hack/github.com/little-dude/netlink/netlink-packet-route) | |
error[E0061]: this function takes 1 argument but 2 arguments were supplied | |
--> netlink-packet-route/examples/dump_links.rs:28:12 | |
| | |
28 | socket.send(&buf[..], 0).unwrap(); | |
| ^^^^ -------- - supplied 2 arguments | |
| | | |
| expected 1 argument | |
error[E0599]: no method named `unwrap` found for opaque type `impl std::future::Future` in the current scope | |
--> netlink-packet-route/examples/dump_links.rs:28:30 | |
| | |
28 | socket.send(&buf[..], 0).unwrap(); | |
| ^^^^^^ method not found in `impl std::future::Future` | |
error[E0061]: this function takes 1 argument but 2 arguments were supplied | |
--> netlink-packet-route/examples/dump_links.rs:35:27 | |
| | |
35 | let size = socket.recv(&mut receive_buffer[..], 0).unwrap(); | |
| ^^^^ ----------------------- - supplied 2 arguments | |
| | | |
| expected 1 argument | |
error[E0599]: no method named `unwrap` found for opaque type `impl std::future::Future` in the current scope | |
--> netlink-packet-route/examples/dump_links.rs:35:60 | |
| | |
35 | let size = socket.recv(&mut receive_buffer[..], 0).unwrap(); | |
| ^^^^^^ method not found in `impl std::future::Future` | |
error: aborting due to 4 previous errors | |
Some errors have detailed explanations: E0061, E0599. | |
For more information about an error, try `rustc --explain E0061`. | |
error: could not compile `netlink-packet-route`. | |
To learn more, run the command again with --verbose. | |
warning: build failed, waiting for other jobs to finish... | |
error: build failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment