When you launch the unit tests (cargo test --all) without being connected to the internet, some tests fail.
Here are the errors :
test url::tests::parse_url_with_scheme_and_host_and_port ... FAILEDtest url::tests::parse_url_with_host_only ... FAILEDtest url::tests::parse_url_with_scheme_and_host ... FAILEDtest url::tests::parse_url_with_host_and_port ... FAILEDfailures:---- url::tests::parse_url_with_scheme_and_host_and_port stdout ----thread 'url::tests::parse_url_with_scheme_and_host_and_port' panicked at 'Fail to get to_listenable_addr addr: Custom { kind: Other, error: "failed to lookup address information: Name or service not known" }', src/libcore/result.rs:1188:5note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.---- url::tests::parse_url_with_host_only stdout ----thread 'url::tests::parse_url_with_host_only' panicked at 'Fail to get to_listenable_addr addr: Custom { kind: Other, error: "failed to lookup address information: Name or service not known" }', src/libcore/result.rs:1188:5---- url::tests::parse_url_with_scheme_and_host stdout ----thread 'url::tests::parse_url_with_scheme_and_host' panicked at 'Fail to get to_listenable_addr addr: Custom { kind: Other, error: "failed to lookup address information: Name or service not known" }', src/libcore/result.rs:1188:5---- url::tests::parse_url_with_host_and_port stdout ----thread 'url::tests::parse_url_with_host_and_port' panicked at 'Fail to get to_listenable_addr addr: Custom { kind: Other, error: "failed to lookup address information: Name or service not known" }', src/libcore/result.rs:1188:5failures: url::tests::parse_url_with_host_and_port url::tests::parse_url_with_host_only url::tests::parse_url_with_scheme_and_host url::tests::parse_url_with_scheme_and_host_and_porttest result: FAILED. 19 passed; 4 failed; 0 ignored; 0 measured; 0 filtered outerror: test failed, to rerun pass '-p durs-network-documents --lib'