[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 try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhybras%2Fprotonvpn" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hybras/protonvpn on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-1/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dialoguer v0.8.0 [INFO] [stderr] Downloaded confy v0.4.0 [INFO] [stderr] Downloaded structopt v0.3.16 [INFO] [stderr] Downloaded paw-raw v1.0.0 [INFO] [stderr] Downloaded structopt-derive v0.4.9 [INFO] [stderr] Downloaded paw-attributes v1.0.2 [INFO] [stderr] Downloaded literally v0.1.3 [INFO] [stderr] Downloaded ureq v2.0.1 [INFO] [stderr] Downloaded paw v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4c8745f563ddf2688d37ced9c3ddcafa91c8f315d9635c0a5dbeae2e242df3b [INFO] running `Command { std: "docker" "start" "-a" "a4c8745f563ddf2688d37ced9c3ddcafa91c8f315d9635c0a5dbeae2e242df3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4c8745f563ddf2688d37ced9c3ddcafa91c8f315d9635c0a5dbeae2e242df3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4c8745f563ddf2688d37ced9c3ddcafa91c8f315d9635c0a5dbeae2e242df3b", kill_on_drop: false }` [INFO] [stdout] a4c8745f563ddf2688d37ced9c3ddcafa91c8f315d9635c0a5dbeae2e242df3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a608f72791f1fd1073e3dd7968d4d2a8d8e786d2bc4a4e17aab954c2100040d [INFO] running `Command { std: "docker" "start" "-a" "7a608f72791f1fd1073e3dd7968d4d2a8d8e786d2bc4a4e17aab954c2100040d", 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 ryu v1.0.5 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [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 regex-syntax v0.6.22 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling askama_escape v0.10.1 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling paw-raw v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling literally v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling heck v0.3.1 [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 bitvec v0.19.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling getrandom v0.2.2 [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 regex v1.4.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling console v0.14.1 [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 askama_shared v0.11.1 [INFO] [stderr] Compiling confy v0.4.0 [INFO] [stderr] Compiling ureq v2.0.1 [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 22s [INFO] running `Command { std: "docker" "inspect" "7a608f72791f1fd1073e3dd7968d4d2a8d8e786d2bc4a4e17aab954c2100040d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a608f72791f1fd1073e3dd7968d4d2a8d8e786d2bc4a4e17aab954c2100040d", kill_on_drop: false }` [INFO] [stdout] 7a608f72791f1fd1073e3dd7968d4d2a8d8e786d2bc4a4e17aab954c2100040d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e5f464ddcd8b74503964a681b3f2670023c495e7ccf04b7bb87bd2401e50bcc [INFO] running `Command { std: "docker" "start" "-a" "4e5f464ddcd8b74503964a681b3f2670023c495e7ccf04b7bb87bd2401e50bcc", kill_on_drop: false }` [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: 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] = 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 test [unoptimized + debuginfo] target(s) in 6.77s [INFO] running `Command { std: "docker" "inspect" "4e5f464ddcd8b74503964a681b3f2670023c495e7ccf04b7bb87bd2401e50bcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e5f464ddcd8b74503964a681b3f2670023c495e7ccf04b7bb87bd2401e50bcc", kill_on_drop: false }` [INFO] [stdout] 4e5f464ddcd8b74503964a681b3f2670023c495e7ccf04b7bb87bd2401e50bcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 195ca6de151cefbe121b84dba38be6b6df19935d69db999fcc7c6f34cda8a163 [INFO] running `Command { std: "docker" "start" "-a" "195ca6de151cefbe121b84dba38be6b6df19935d69db999fcc7c6f34cda8a163", 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: 5 warnings emitted [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] = 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: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/protonvpn-736d80785df80acb) [INFO] [stdout] running 5 tests [INFO] [stdout] test vpn::tests::test_passfile ... ok [INFO] [stdout] test vpn::tests::test_create_ovpn_conf ... ok [INFO] [stdout] test vpn::tests::test_ip_nm_serialize ... ok [INFO] [stdout] test utils::tests::test_call_endpoint ... ok [INFO] [stdout] test utils::tests::test_ip_info ... FAILED [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] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.32/src/error.rs:472:25 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/result.rs:1653:27 [INFO] [stdout] 2: protonvpn::utils::call_endpoint [INFO] [stdout] at ./src/utils.rs:71:2 [INFO] [stdout] 3: protonvpn::utils::ip_info [INFO] [stdout] at ./src/utils.rs:114:13 [INFO] [stdout] 4: protonvpn::utils::tests::test_ip_info [INFO] [stdout] at ./src/utils.rs:150:18 [INFO] [stdout] 5: protonvpn::utils::tests::test_ip_info::{{closure}} [INFO] [stdout] at ./src/utils.rs:149:2 [INFO] [stdout] 6: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 7: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 8: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:577:5 [INFO] [stdout] 9: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 10: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:347:9 [INFO] [stdout] 11: std::panicking::try::do_call [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 12: std::panicking::try [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 13: std::panic::catch_unwind [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 14: test::run_test_in_process [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:600:18 [INFO] [stdout] 15: test::run_test::run_test_inner::{{closure}} [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:492:39 [INFO] [stdout] 16: test::run_test::run_test_inner::{{closure}} [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:519:37 [INFO] [stdout] 17: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 18: std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 19: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:347:9 [INFO] [stdout] 20: std::panicking::try::do_call [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 21: std::panicking::try [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 22: std::panic::catch_unwind [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 23: std::thread::Builder::spawn_unchecked::{{closure}} [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 24: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 26: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 27: std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys/unix/thread.rs:72:17 [INFO] [stdout] 28: start_thread [INFO] [stdout] 29: clone [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/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:193:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5582740ef120 - std::backtrace_rs::backtrace::libunwind::trace::h706b838f5bbd876b [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x5582740ef120 - std::backtrace_rs::backtrace::trace_unsynchronized::hc15f29ae7822b7b8 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5582740ef120 - std::sys_common::backtrace::_print_fmt::h7c580c971f91926c [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5582740ef120 - ::fmt::h2a772198c4032452 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5582741131dc - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x5582740e8025 - std::io::Write::write_fmt::h583dff5009d01a9f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/io/mod.rs:1663:15 [INFO] [stdout] 6: 0x5582740f12eb - std::sys_common::backtrace::_print::h5b3c171e6f864ae4 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5582740f12eb - std::sys_common::backtrace::print::h93b9e9ed2a98e611 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5582740f12eb - std::panicking::default_hook::{{closure}}::hd8da92bb68d520c5 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5582740f0dfc - std::panicking::default_hook::hdbc8b2951c5afbab [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x5582740f19b4 - std::panicking::rust_panic_with_hook::h8a4c841655926f4e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x5582740f1497 - std::panicking::begin_panic_handler::{{closure}}::h471b6bc74904b7b0 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x5582740ef61c - std::sys_common::backtrace::__rust_end_short_backtrace::h309f5c707f29932f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5582740f13f9 - rust_begin_unwind [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x558273dcccd1 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x558274111b9e - core::panicking::assert_failed_inner::h6ded2444c01d76f2 [INFO] [stdout] 16: 0x558273f61c9a - core::panicking::assert_failed::h9e6df78ff038fafe [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/panicking.rs:117:5 [INFO] [stdout] 17: 0x558273de4b81 - test::assert_test_result::h5b3a14a26e228543 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:193:5 [INFO] [stdout] 18: 0x558273dee9dd - protonvpn::utils::tests::test_ip_info::{{closure}}::haf6f4e727a1f79ec [INFO] [stdout] at /opt/rustwide/workdir/src/utils.rs:149:2 [INFO] [stdout] 19: 0x558273df08be - core::ops::function::FnOnce::call_once::h89e79b967580e46a [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x558273fee2e3 - core::ops::function::FnOnce::call_once::h99a97b0ff983bd25 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x558273fee2e3 - test::__rust_begin_short_backtrace::h8fe0d26ed1584e50 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:577:5 [INFO] [stdout] 22: 0x558273fecd70 - as core::ops::function::FnOnce>::call_once::he6b90e352f394d8f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 23: 0x558273fecd70 - as core::ops::function::FnOnce<()>>::call_once::h1c05475e029700b8 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:347:9 [INFO] [stdout] 24: 0x558273fecd70 - std::panicking::try::do_call::he6de943476ae628a [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x558273fecd70 - std::panicking::try::ha21937b8feb06f89 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x558273fecd70 - std::panic::catch_unwind::ha79830b3325c9fa6 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 27: 0x558273fecd70 - test::run_test_in_process::h1ab180b83ee2d5b5 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:600:18 [INFO] [stdout] 28: 0x558273fecd70 - test::run_test::run_test_inner::{{closure}}::h8258ffe088f187a1 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x558273fc6332 - test::run_test::run_test_inner::{{closure}}::hc697b214abd32bc6 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x558273fc6332 - std::sys_common::backtrace::__rust_begin_short_backtrace::h64de0d3f894854a9 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x558273fc9f88 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h1fd98fc86e533ece [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 32: 0x558273fc9f88 - as core::ops::function::FnOnce<()>>::call_once::h4e2a7abf702e4cfd [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:347:9 [INFO] [stdout] 33: 0x558273fc9f88 - std::panicking::try::do_call::h4496392321a3c8c0 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x558273fc9f88 - std::panicking::try::hf1e14258e04e8e9a [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x558273fc9f88 - std::panic::catch_unwind::hb72c3777cd55642f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 36: 0x558273fc9f88 - std::thread::Builder::spawn_unchecked::{{closure}}::h2d7915a5910e148e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 37: 0x558273fc9f88 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h83fd2f1ef5be797c [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x5582740f7497 - as core::ops::function::FnOnce>::call_once::ha8b1d5a0092467fc [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x5582740f7497 - as core::ops::function::FnOnce>::call_once::h4b9f24ec4e8a879e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x5582740f7497 - std::sys::unix::thread::Thread::new::thread_start::h2a0e98fbc4ab4c32 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys/unix/thread.rs:72:17 [INFO] [stdout] 41: 0x7faa6b491609 - start_thread [INFO] [stdout] 42: 0x7faa6b269293 - 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.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "195ca6de151cefbe121b84dba38be6b6df19935d69db999fcc7c6f34cda8a163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "195ca6de151cefbe121b84dba38be6b6df19935d69db999fcc7c6f34cda8a163", kill_on_drop: false }` [INFO] [stdout] 195ca6de151cefbe121b84dba38be6b6df19935d69db999fcc7c6f34cda8a163