Documentation
tests/test_linux_ip_addr.rs:20:21: 20:56 error: unresolved name `linux_ip::addr::parse_from_string` [E0425]
tests/test_linux_ip_addr.rs:20       let ip_addr = ::linux_ip::addr::parse_from_string(&ip_addr_show());
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/test_linux_ip_addr.rs:20:21: 20:56 help: run `rustc --explain E0425` to see a detailed explanation
tests/test_linux_ip_addr.rs:27:19: 27:54 error: unresolved name `linux_ip::addr::parse_from_string` [E0425]
tests/test_linux_ip_addr.rs:27     let ip_addr = ::linux_ip::addr::parse_from_string(&ip_addr_show());
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/test_linux_ip_addr.rs:27:19: 27:54 help: run `rustc --explain E0425` to see a detailed explanation
tests/test_linux_ip_addr.rs:36:23: 36:47 error: `linux_ip::addr::IpAddr` does not name a structure [E0422]
tests/test_linux_ip_addr.rs:36     let mut ip_addr = ::linux_ip::addr::IpAddr {
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~
tests/test_linux_ip_addr.rs:36:23: 36:47 help: run `rustc --explain E0422` to see a detailed explanation
tests/test_linux_ip_route.rs:28:59: 28:64 error: unresolved name `ip_ro` [E0425]
tests/test_linux_ip_route.rs:28       let ip_addr = ::linux_ip::route::parse_from_string(&ip_ro());
                                                                                          ^~~~~
tests/test_linux_ip_route.rs:28:59: 28:64 help: run `rustc --explain E0425` to see a detailed explanation
tests/test_linux_ip_route.rs:28:21: 28:57 error: unresolved name `linux_ip::route::parse_from_string` [E0425]
tests/test_linux_ip_route.rs:28       let ip_addr = ::linux_ip::route::parse_from_string(&ip_ro());
                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/test_linux_ip_route.rs:28:21: 28:57 help: run `rustc --explain E0425` to see a detailed explanation
tests/test_linux_ip_route.rs:33:26: 33:62 error: unresolved name `linux_ip::route::parse_from_string` [E0425]
tests/test_linux_ip_route.rs:33       let mut ip_route = ::linux_ip::route::parse_from_string(&ip_route_4_show());
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/test_linux_ip_route.rs:33:26: 33:62 help: run `rustc --explain E0425` to see a detailed explanation
tests/test_linux_ip_route.rs:37:18: 37:54 error: unresolved name `linux_ip::route::parse_from_string` [E0425]
tests/test_linux_ip_route.rs:37       ip_route = ::linux_ip::route::parse_from_string(&ip_route_6_show());
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/test_linux_ip_route.rs:37:18: 37:54 help: run `rustc --explain E0425` to see a detailed explanation
tests/test_linux_ip_route.rs:45:24: 45:60 error: unresolved name `linux_ip::route::parse_from_string` [E0425]
tests/test_linux_ip_route.rs:45     let mut ip_route = ::linux_ip::route::parse_from_string(&ip_route_4_show());
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/test_linux_ip_route.rs:45:24: 45:60 help: run `rustc --explain E0425` to see a detailed explanation
tests/test_linux_ip_route.rs:47:16: 47:52 error: unresolved name `linux_ip::route::parse_from_string` [E0425]
tests/test_linux_ip_route.rs:47     ip_route = ::linux_ip::route::parse_from_string(&ip_route_6_show());
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/test_linux_ip_route.rs:47:16: 47:52 help: run `rustc --explain E0425` to see a detailed explanation
tests/test_linux_ip_route.rs:52:24: 52:50 error: `linux_ip::route::IpRoute` does not name a structure [E0422]
tests/test_linux_ip_route.rs:52     let mut ip_route = ::linux_ip::route::IpRoute {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
tests/test_linux_ip_route.rs:52:24: 52:50 help: run `rustc --explain E0422` to see a detailed explanation
tests/test_linux_ip_addr.rs:21:22: 21:38 error: the type of this value must be known in this context
tests/test_linux_ip_addr.rs:21       assert_eq!(26, ip_addr.length());
                                                    ^~~~~~~~~~~~~~~~
tests/test_linux_ip_addr.rs:21:7: 21:40 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:8: 5:18 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                      ^~~~~~~~~~
tests/test_linux_ip_addr.rs:21:7: 21:40 note: in this expansion of assert_eq! (defined in <std macros>)
tests/test_linux_ip_route.rs:29:22: 29:38 error: the type of this value must be known in this context
tests/test_linux_ip_route.rs:29       assert_eq!(26, ip_addr.length());
                                                     ^~~~~~~~~~~~~~~~
tests/test_linux_ip_route.rs:29:7: 29:40 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:8: 5:18 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                      ^~~~~~~~~~
tests/test_linux_ip_route.rs:29:7: 29:40 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:22: 5:33 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                                    ^~~~~~~~~~~
tests/test_linux_ip_addr.rs:21:7: 21:40 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:8: 5:18 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                      ^~~~~~~~~~
tests/test_linux_ip_addr.rs:22:7: 22:64 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:22: 5:33 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                                    ^~~~~~~~~~~
tests/test_linux_ip_addr.rs:22:7: 22:64 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:22: 5:33 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                                    ^~~~~~~~~~~
tests/test_linux_ip_route.rs:29:7: 29:40 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:8: 5:18 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                      ^~~~~~~~~~
tests/test_linux_ip_addr.rs:23:7: 23:127 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:22: 5:33 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                                    ^~~~~~~~~~~
tests/test_linux_ip_addr.rs:23:7: 23:127 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:8: 5:18 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                      ^~~~~~~~~~
tests/test_linux_ip_route.rs:30:7: 30:64 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:22: 5:33 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                                    ^~~~~~~~~~~
tests/test_linux_ip_route.rs:30:7: 30:64 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:8: 5:18 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                      ^~~~~~~~~~
tests/test_linux_ip_route.rs:31:7: 31:127 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:22: 5:33 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                                    ^~~~~~~~~~~
tests/test_linux_ip_route.rs:31:7: 31:127 note: in this expansion of assert_eq! (defined in <std macros>)
tests/test_linux_ip_route.rs:34:22: 34:41 error: the type of this value must be known in this context
tests/test_linux_ip_route.rs:34       assert_eq!(16, ip_route.interfaces.length);
                                                     ^~~~~~~~~~~~~~~~~~~
tests/test_linux_ip_route.rs:34:7: 34:50 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:8: 5:18 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                      ^~~~~~~~~~
tests/test_linux_ip_route.rs:34:7: 34:50 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:22: 5:33 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                                    ^~~~~~~~~~~
tests/test_linux_ip_route.rs:34:7: 34:50 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:8: 5:18 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                      ^~~~~~~~~~
tests/test_linux_ip_route.rs:35:7: 35:75 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:22: 5:33 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                                    ^~~~~~~~~~~
tests/test_linux_ip_route.rs:35:7: 35:75 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:8: 5:18 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                      ^~~~~~~~~~
tests/test_linux_ip_route.rs:36:7: 36:62 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:22: 5:33 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                                    ^~~~~~~~~~~
tests/test_linux_ip_route.rs:36:7: 36:62 note: in this expansion of assert_eq! (defined in <std macros>)
tests/test_linux_ip_addr.rs:28:14: 28:40 error: the type of this value must be known in this context
tests/test_linux_ip_addr.rs:28     for i in ip_addr.as_commands("add") {
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
<std macros>:5:8: 5:18 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                      ^~~~~~~~~~
tests/test_linux_ip_route.rs:38:7: 38:50 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:22: 5:33 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                                    ^~~~~~~~~~~
tests/test_linux_ip_route.rs:38:7: 38:50 note: in this expansion of assert_eq! (defined in <std macros>)
tests/test_linux_ip_addr.rs:31:56: 31:58 error: the type of this value must be known in this context
tests/test_linux_ip_addr.rs:31     assert!(ip_addr.as_commands("add").iter().find(|s| *s == "ip addr add fe80::d227:88ff:fed1:16d/64 dev p1p1.402").is_some());
                                                                                      ^~
tests/test_linux_ip_addr.rs:31:5: 31:129 note: in this expansion of assert! (defined in <std macros>)
<std macros>:5:8: 5:18 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                      ^~~~~~~~~~
tests/test_linux_ip_route.rs:39:7: 39:75 note: in this expansion of assert_eq! (defined in <std macros>)
tests/test_linux_ip_addr.rs:32:56: 32:58 error: the type of this value must be known in this context
tests/test_linux_ip_addr.rs:32     assert!(ip_addr.as_commands("del").iter().find(|s| *s == "ip addr del 10.1.0.11/16 dev br110").is_some());
                                                                                      ^~
tests/test_linux_ip_addr.rs:32:5: 32:111 note: in this expansion of assert! (defined in <std macros>)
<std macros>:5:22: 5:33 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                                    ^~~~~~~~~~~
tests/test_linux_ip_route.rs:39:7: 39:75 note: in this expansion of assert_eq! (defined in <std macros>)
tests/test_linux_ip_addr.rs:39:15: 39:57 error: the type of this value must be known in this context
tests/test_linux_ip_addr.rs:39     let idx = ip_addr.add_interface(&"eth0".to_string());
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/test_linux_ip_addr.rs:41:56: 41:58 error: the type of this value must be known in this context
tests/test_linux_ip_addr.rs:41     assert!(ip_addr.as_commands("del").iter().find(|s| *s == "ip addr del 47.11.1.1/26 dev eth0").is_some())
                                                                                      ^~
tests/test_linux_ip_addr.rs:41:5: 41:109 note: in this expansion of assert! (defined in <std macros>)
<std macros>:5:8: 5:18 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                      ^~~~~~~~~~
tests/test_linux_ip_route.rs:40:7: 40:63 note: in this expansion of assert_eq! (defined in <std macros>)
<std macros>:5:22: 5:33 error: the type of this value must be known in this context
<std macros>:5 if ! ( * left_val == * right_val ) {
                                    ^~~~~~~~~~~
tests/test_linux_ip_route.rs:40:7: 40:63 note: in this expansion of assert_eq! (defined in <std macros>)
error: aborting due to 12 previous errors
tests/test_linux_ip_route.rs:46:13: 46:40 error: the type of this value must be known in this context
tests/test_linux_ip_route.rs:46     assert!(ip_route.as_commands("del").find(|s| *s == "ip route del 112.164.91.136/29 dev eth3.207").is_some());
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/test_linux_ip_route.rs:46:5: 46:114 note: in this expansion of assert! (defined in <std macros>)
tests/test_linux_ip_route.rs:46:50: 46:52 error: the type of this value must be known in this context
tests/test_linux_ip_route.rs:46     assert!(ip_route.as_commands("del").find(|s| *s == "ip route del 112.164.91.136/29 dev eth3.207").is_some());
                                                                                 ^~
tests/test_linux_ip_route.rs:46:5: 46:114 note: in this expansion of assert! (defined in <std macros>)
tests/test_linux_ip_route.rs:48:50: 48:52 error: the type of this value must be known in this context
tests/test_linux_ip_route.rs:48     assert!(ip_route.as_commands("add").find(|s| *s == "ip route add 3c04:3a60:0:fe82::/64 via 3c04:3a60:0:2::21").is_some());
                                                                                 ^~
tests/test_linux_ip_route.rs:48:5: 48:127 note: in this expansion of assert! (defined in <std macros>)
tests/test_linux_ip_route.rs:55:5: 55:55 error: the type of this value must be known in this context
tests/test_linux_ip_route.rs:55     ip_route.add_via("eth0", "0.0.0.0/0", "47.11.1.1");
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/test_linux_ip_route.rs:56:57: 56:59 error: the type of this value must be known in this context
tests/test_linux_ip_route.rs:56     assert!(ip_route.as_commands("add").iter().find(|s| *s == "ip route add 0.0.0.0/0 via 47.11.1.1").is_some());
                                                                                        ^~
tests/test_linux_ip_route.rs:56:5: 56:114 note: in this expansion of assert! (defined in <std macros>)
tests/test_linux_ip_route.rs:57:57: 57:59 error: the type of this value must be known in this context
tests/test_linux_ip_route.rs:57     assert!(ip_route.as_commands("del").iter().find(|s| *s == "ip route del 0.0.0.0/0 via 47.11.1.1").is_some());
                                                                                        ^~
tests/test_linux_ip_route.rs:57:5: 57:114 note: in this expansion of assert! (defined in <std macros>)
error: aborting due to 26 previous errors
Could not compile `linux_ip`.

To learn more, run the command again with --verbose.