[INFO] cloning repository https://github.com/hybras/protonvpn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hybras/protonvpn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhybras%2Fprotonvpn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhybras%2Fprotonvpn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88a539db18316add5161db0339034104ee0e2ff8 [INFO] testing hybras/protonvpn against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhybras%2Fprotonvpn" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hybras/protonvpn on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hybras/protonvpn [INFO] finished tweaking git repo https://github.com/hybras/protonvpn [INFO] tweaked toml for git repo https://github.com/hybras/protonvpn written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hybras/protonvpn already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.4.9 [INFO] [stderr] Downloaded directories v3.0.1 [INFO] [stderr] Downloaded literally v0.1.3 [INFO] [stderr] Downloaded structopt v0.3.16 [INFO] [stderr] Downloaded ureq v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dc49b442de70e279965f649da472a529f07778760c140853d55520ae450fbec [INFO] running `Command { std: "docker" "start" "-a" "2dc49b442de70e279965f649da472a529f07778760c140853d55520ae450fbec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dc49b442de70e279965f649da472a529f07778760c140853d55520ae450fbec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dc49b442de70e279965f649da472a529f07778760c140853d55520ae450fbec", kill_on_drop: false }` [INFO] [stdout] 2dc49b442de70e279965f649da472a529f07778760c140853d55520ae450fbec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17ea7f4915af3a30f7ce49f3985289dc7be802a14e80ca212605282ac463b2da [INFO] running `Command { std: "docker" "start" "-a" "17ea7f4915af3a30f7ce49f3985289dc7be802a14e80ca212605282ac463b2da", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling askama_escape v0.10.1 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitvec v0.19.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling paw-raw v1.0.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling directories v3.0.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling rpassword v5.0.1 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling literally v0.1.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling dialoguer v0.8.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.19.0 [INFO] [stderr] Compiling webpki-roots v0.21.0 [INFO] [stderr] Compiling paw-attributes v1.0.2 [INFO] [stderr] Compiling structopt-derive v0.4.9 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling paw v1.0.0 [INFO] [stderr] Compiling structopt v0.3.16 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling ureq v2.0.1 [INFO] [stderr] Compiling askama_shared v0.11.1 [INFO] [stderr] Compiling confy v0.4.0 [INFO] [stderr] Compiling askama_derive v0.10.5 [INFO] [stderr] Compiling askama v0.10.5 [INFO] [stderr] Compiling protonvpn v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `ip_info` is never used [INFO] [stdout] --> src/utils.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn ip_info(config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `openvpn_process` and `passfile` are never read [INFO] [stdout] --> src/vpn.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct VpnConnection { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 50 | pub(crate) openvpn_process: Child, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub(crate) passfile: TempPath, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_enum_field` is never used [INFO] [stdout] --> src/settings.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_enum_field(terminal: &Term, name: N) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ask_for` is never used [INFO] [stdout] --> src/settings.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn ask_for(terminal: &Term, name: N) -> Result [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "17ea7f4915af3a30f7ce49f3985289dc7be802a14e80ca212605282ac463b2da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ea7f4915af3a30f7ce49f3985289dc7be802a14e80ca212605282ac463b2da", kill_on_drop: false }` [INFO] [stdout] 17ea7f4915af3a30f7ce49f3985289dc7be802a14e80ca212605282ac463b2da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 165c26e767b3ad7f2c0d28de474de055339bb4253c0501702e9cfff340a72937 [INFO] running `Command { std: "docker" "start" "-a" "165c26e767b3ad7f2c0d28de474de055339bb4253c0501702e9cfff340a72937", kill_on_drop: false }` [INFO] [stderr] Compiling protonvpn v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `ip_info` is never used [INFO] [stdout] --> src/utils.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn ip_info(config: &Config) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `openvpn_process` and `passfile` are never read [INFO] [stdout] --> src/vpn.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct VpnConnection { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 50 | pub(crate) openvpn_process: Child, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub(crate) passfile: TempPath, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_enum_field` is never used [INFO] [stdout] --> src/settings.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_enum_field(terminal: &Term, name: N) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ask_for` is never used [INFO] [stdout] --> src/settings.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn ask_for(terminal: &Term, name: N) -> Result [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_server` is never used [INFO] [stdout] --> src/cli/connect.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | fn test_server() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `openvpn_process` and `passfile` are never read [INFO] [stdout] --> src/vpn.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct VpnConnection { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 50 | pub(crate) openvpn_process: Child, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub(crate) passfile: TempPath, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_enum_field` is never used [INFO] [stdout] --> src/settings.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_enum_field(terminal: &Term, name: N) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ask_for` is never used [INFO] [stdout] --> src/settings.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn ask_for(terminal: &Term, name: N) -> Result [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "165c26e767b3ad7f2c0d28de474de055339bb4253c0501702e9cfff340a72937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "165c26e767b3ad7f2c0d28de474de055339bb4253c0501702e9cfff340a72937", kill_on_drop: false }` [INFO] [stdout] 165c26e767b3ad7f2c0d28de474de055339bb4253c0501702e9cfff340a72937 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 68b89d0160d0622b3c37e18c80f398becd6e3307b16694605909b3897260fce7 [INFO] running `Command { std: "docker" "start" "-a" "68b89d0160d0622b3c37e18c80f398becd6e3307b16694605909b3897260fce7", kill_on_drop: false }` [INFO] [stderr] warning: function `ip_info` is never used [INFO] [stderr] --> src/utils.rs:111:8 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn ip_info(config: &Config) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `openvpn_process` and `passfile` are never read [INFO] [stderr] --> src/vpn.rs:50:13 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct VpnConnection { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 50 | pub(crate) openvpn_process: Child, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 51 | pub(crate) passfile: TempPath, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_enum_field` is never used [INFO] [stderr] --> src/settings.rs:94:4 [INFO] [stderr] | [INFO] [stderr] 94 | fn get_enum_field(terminal: &Term, name: N) -> Result [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ask_for` is never used [INFO] [stderr] --> src/settings.rs:112:4 [INFO] [stderr] | [INFO] [stderr] 112 | fn ask_for(terminal: &Term, name: N) -> Result [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_server` is never used [INFO] [stderr] --> src/cli/connect.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | fn test_server() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `protonvpn` (lib) generated 4 warnings [INFO] [stderr] warning: `protonvpn` (lib test) generated 4 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/protonvpn-ec186e917cdb2814) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test utils::tests::test_ip_info ... FAILED [INFO] [stdout] test vpn::tests::test_create_ovpn_conf ... ok [INFO] [stdout] test utils::tests::test_call_endpoint ... ok [INFO] [stdout] test vpn::tests::test_ip_nm_serialize ... ok [INFO] [stdout] test vpn::tests::test_passfile ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- utils::tests::test_ip_info stdout ---- [INFO] [stdout] Error: https://api.protonvpn.ch/vpn/location: Dns Failed: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] utils::tests::test_ip_info [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "68b89d0160d0622b3c37e18c80f398becd6e3307b16694605909b3897260fce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68b89d0160d0622b3c37e18c80f398becd6e3307b16694605909b3897260fce7", kill_on_drop: false }` [INFO] [stdout] 68b89d0160d0622b3c37e18c80f398becd6e3307b16694605909b3897260fce7