[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhybras%2Fprotonvpn" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hybras/protonvpn on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-29/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93821e4d50e52a7aa98c45cd79fd98514489c394738cbc8bdf65bface406e45e [INFO] running `Command { std: "docker" "start" "-a" "93821e4d50e52a7aa98c45cd79fd98514489c394738cbc8bdf65bface406e45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93821e4d50e52a7aa98c45cd79fd98514489c394738cbc8bdf65bface406e45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93821e4d50e52a7aa98c45cd79fd98514489c394738cbc8bdf65bface406e45e", kill_on_drop: false }` [INFO] [stdout] 93821e4d50e52a7aa98c45cd79fd98514489c394738cbc8bdf65bface406e45e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7f972c82f107f35625dfdb908b21655792bd6be139be50d104432d9ce363d47 [INFO] running `Command { std: "docker" "start" "-a" "d7f972c82f107f35625dfdb908b21655792bd6be139be50d104432d9ce363d47", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.2 [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 bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling askama_escape v0.10.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling paw-raw v1.0.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling literally v0.1.3 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling bitvec v0.19.4 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rpassword v5.0.1 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling directories v3.0.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling dialoguer v0.8.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki-roots v0.21.0 [INFO] [stderr] Compiling rustls v0.19.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 is never used: `ip_info` [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: field is never read: `openvpn_process` [INFO] [stdout] --> src/vpn.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) openvpn_process: Child, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `passfile` [INFO] [stdout] --> src/vpn.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) passfile: TempPath, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_enum_field` [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 is never used: `ask_for` [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "d7f972c82f107f35625dfdb908b21655792bd6be139be50d104432d9ce363d47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7f972c82f107f35625dfdb908b21655792bd6be139be50d104432d9ce363d47", kill_on_drop: false }` [INFO] [stdout] d7f972c82f107f35625dfdb908b21655792bd6be139be50d104432d9ce363d47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6d2198685e272316d3dadf62afd55718379ffa04ec3693ccf088dbaeca3cd11 [INFO] running `Command { std: "docker" "start" "-a" "a6d2198685e272316d3dadf62afd55718379ffa04ec3693ccf088dbaeca3cd11", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling protonvpn v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `ip_info` [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: field is never read: `openvpn_process` [INFO] [stdout] --> src/vpn.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) openvpn_process: Child, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `passfile` [INFO] [stdout] --> src/vpn.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) passfile: TempPath, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_enum_field` [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 is never used: `ask_for` [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `openvpn_process` [INFO] [stdout] --> src/vpn.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) openvpn_process: Child, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `passfile` [INFO] [stdout] --> src/vpn.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) passfile: TempPath, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_enum_field` [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 is never used: `ask_for` [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 is never used: `test_server` [INFO] [stdout] --> src/cli/connect.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | fn test_server() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.50s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/protonvpn-514b9898c03d6881) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/protonvpn-86e866016a715f43) [INFO] running `Command { std: "docker" "inspect" "a6d2198685e272316d3dadf62afd55718379ffa04ec3693ccf088dbaeca3cd11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6d2198685e272316d3dadf62afd55718379ffa04ec3693ccf088dbaeca3cd11", kill_on_drop: false }` [INFO] [stdout] a6d2198685e272316d3dadf62afd55718379ffa04ec3693ccf088dbaeca3cd11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cb347fc68f4479cf318c0348b8661fbd797f67b596871a1d22088c96dbcc9e7c [INFO] running `Command { std: "docker" "start" "-a" "cb347fc68f4479cf318c0348b8661fbd797f67b596871a1d22088c96dbcc9e7c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: function is never used: `ip_info` [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: field is never read: `openvpn_process` [INFO] [stderr] --> src/vpn.rs:50:2 [INFO] [stderr] | [INFO] [stderr] 50 | pub(crate) openvpn_process: Child, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `passfile` [INFO] [stderr] --> src/vpn.rs:51:2 [INFO] [stderr] | [INFO] [stderr] 51 | pub(crate) passfile: TempPath, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_enum_field` [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 is never used: `ask_for` [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: field is never read: `openvpn_process` [INFO] [stderr] --> src/vpn.rs:50:2 [INFO] [stderr] | [INFO] [stderr] 50 | pub(crate) openvpn_process: Child, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_server` [INFO] [stderr] --> src/cli/connect.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | fn test_server() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `protonvpn` (lib) generated 5 warnings [INFO] [stderr] warning: `protonvpn` (lib test) generated 5 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.40s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/protonvpn-514b9898c03d6881) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test vpn::tests::test_ip_nm_serialize ... ok [INFO] [stdout] test vpn::tests::test_create_ovpn_conf ... ok [INFO] [stdout] test vpn::tests::test_passfile ... ok [INFO] [stdout] test utils::tests::test_call_endpoint ... ok [INFO] [stdout] test utils::tests::test_ip_info ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--lib' [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] thread 'utils::tests::test_ip_info' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `1`, [INFO] [stdout] right: `0`: the test returned a termination value with a non-zero status code (1) which indicates a failure', /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:186:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x563755f63dad - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x563755f63dad - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x563755f63dad - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x563755f63dad - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x563755f87c3c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x563755f5d2b1 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x563755f65af5 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x563755f65af5 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x563755f65af5 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x563755f657e4 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x563755f66042 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x563755f65f27 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x563755f64264 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x563755f65c59 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x563755c59ab3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x563755f868ae - core::panicking::assert_failed_inner::h337b271ded48bc15 [INFO] [stdout] 16: 0x563755f2e7fa - core::panicking::assert_failed::he9c3b7e9153fac7b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x563755c79bb2 - test::assert_test_result::h8131949698fc945a [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:186:5 [INFO] [stdout] 18: 0x563755c7712d - protonvpn::utils::tests::test_ip_info::{{closure}}::ha682083852d68bce [INFO] [stdout] at /opt/rustwide/workdir/src/utils.rs:149:2 [INFO] [stdout] 19: 0x563755c7f9ee - core::ops::function::FnOnce::call_once::h0489da58ab6342da [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x563755e71743 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x563755e71743 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x563755e704f9 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 23: 0x563755e704f9 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x563755e704f9 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x563755e704f9 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x563755e704f9 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x563755e704f9 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x563755e704f9 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x563755e3c6ae - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x563755e3c6ae - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x563755e41c18 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x563755e41c18 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x563755e41c18 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x563755e41c18 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x563755e41c18 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x563755e41c18 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x563755e41c18 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x563755f6aad3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x563755f6aad3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x563755f6aad3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f619f5cb609 - start_thread [INFO] [stdout] 42: 0x7f619f3a1163 - clone [INFO] [stdout] 43: 0x0 - [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.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cb347fc68f4479cf318c0348b8661fbd797f67b596871a1d22088c96dbcc9e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb347fc68f4479cf318c0348b8661fbd797f67b596871a1d22088c96dbcc9e7c", kill_on_drop: false }` [INFO] [stdout] cb347fc68f4479cf318c0348b8661fbd797f67b596871a1d22088c96dbcc9e7c