[INFO] cloning repository https://github.com/psaarine/TwitterCLI [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psaarine/TwitterCLI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsaarine%2FTwitterCLI", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsaarine%2FTwitterCLI'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 199256bd8807d521d6a78875477eb68d9f9ced40 [INFO] building psaarine/TwitterCLI against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsaarine%2FTwitterCLI" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psaarine/TwitterCLI on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/psaarine/TwitterCLI [INFO] finished tweaking git repo https://github.com/psaarine/TwitterCLI [INFO] tweaked toml for git repo https://github.com/psaarine/TwitterCLI written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/psaarine/TwitterCLI 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" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] building psaarine/TwitterCLI against try#53e03135c36e913ff664ce8329041b7e3c2fd358 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsaarine%2FTwitterCLI" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psaarine/TwitterCLI on toolchain 53e03135c36e913ff664ce8329041b7e3c2fd358 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/psaarine/TwitterCLI [INFO] finished tweaking git repo https://github.com/psaarine/TwitterCLI [INFO] tweaked toml for git repo https://github.com/psaarine/TwitterCLI written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/psaarine/TwitterCLI 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" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded open v2.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8edcf721b25220997f6628ea8ae58d562a5ecdeeefae6cc1c7713a8987f5f01 [INFO] running `Command { std: "docker" "start" "-a" "c8edcf721b25220997f6628ea8ae58d562a5ecdeeefae6cc1c7713a8987f5f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8edcf721b25220997f6628ea8ae58d562a5ecdeeefae6cc1c7713a8987f5f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8edcf721b25220997f6628ea8ae58d562a5ecdeeefae6cc1c7713a8987f5f01", kill_on_drop: false }` [INFO] [stdout] c8edcf721b25220997f6628ea8ae58d562a5ecdeeefae6cc1c7713a8987f5f01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee1ac1c29c1ae3e6d9367b54536d7c6c7f300003340ccd51ec568010d5c2b258 [INFO] running `Command { std: "docker" "start" "-a" "ee1ac1c29c1ae3e6d9367b54536d7c6c7f300003340ccd51ec568010d5c2b258", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling open v2.1.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling TwitterCLI v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `open::that` [INFO] [stdout] --> src/login/standard_login.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use open::that; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::from_str` [INFO] [stdout] --> src/utils/string_parsing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::from_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::from_reader` [INFO] [stdout] --> src/configuration/fetch.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::from_reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] extern crate serde; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/login/standard_login.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | fn handle_tcp_response(stream: TcpStream){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string_data` [INFO] [stdout] --> src/utils/string_parsing.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let string_data = serializer.get_json().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_args` is never used [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn handle_args(args: Vec){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_help` is never used [INFO] [stdout] --> src/main.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn display_help(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `standard_login_flow` is never used [INFO] [stdout] --> src/login/standard_login.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn standard_login_flow(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_tcp_response` is never used [INFO] [stdout] --> src/login/standard_login.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn handle_tcp_response(stream: TcpStream){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tcp_listener` is never used [INFO] [stdout] --> src/login/standard_login.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn create_tcp_listener(port: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_stream` is never used [INFO] [stdout] --> src/login/standard_login.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn handle_stream(mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_received_url` is never used [INFO] [stdout] --> src/login/standard_login.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn parse_received_url(data: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_login_page` is never used [INFO] [stdout] --> src/login/standard_login.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn open_login_page(callback: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `get_json` are never used [INFO] [stdout] --> src/utils/serializer.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Serializer { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn add(& mut self, key: impl ToString, value: impl ToString) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_json(& mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_query` is never used [INFO] [stdout] --> src/utils/string_parsing.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_query<'de, T>(data: &str ) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_param_couple` is never used [INFO] [stdout] --> src/utils/string_parsing.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn parse_param_couple(couple: &str) -> Result<(&str, &str), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `TwitterCLI` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `twitter_cli` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/login/standard_login.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | open::that(uri); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = open::that(uri); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.57s [INFO] running `Command { std: "docker" "inspect" "ee1ac1c29c1ae3e6d9367b54536d7c6c7f300003340ccd51ec568010d5c2b258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee1ac1c29c1ae3e6d9367b54536d7c6c7f300003340ccd51ec568010d5c2b258", kill_on_drop: false }` [INFO] [stdout] ee1ac1c29c1ae3e6d9367b54536d7c6c7f300003340ccd51ec568010d5c2b258 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f36d6340d0d5a5b21eefdf0a719c488b3b62bedc441e944d20171d63568f412 [INFO] running `Command { std: "docker" "start" "-a" "2f36d6340d0d5a5b21eefdf0a719c488b3b62bedc441e944d20171d63568f412", kill_on_drop: false }` [INFO] [stderr] Compiling TwitterCLI v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `open::that` [INFO] [stdout] --> src/login/standard_login.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use open::that; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::from_str` [INFO] [stdout] --> src/utils/string_parsing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::from_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::from_reader` [INFO] [stdout] --> src/configuration/fetch.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::from_reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] extern crate serde; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/login/standard_login.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | fn handle_tcp_response(stream: TcpStream){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string_data` [INFO] [stdout] --> src/utils/string_parsing.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let string_data = serializer.get_json().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_string_2` [INFO] [stdout] --> src/utils/string_parsing.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let test_string_2 = "jari=matti"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_string_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_string_3` [INFO] [stdout] --> src/utils/string_parsing.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let test_string_3 = "key=value"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_string_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_key_2` [INFO] [stdout] --> src/utils/string_parsing.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | let (test_key_1, test_key_2) = parse_param_couple(test_string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_key_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `twitter` [INFO] [stdout] --> src/utils/string_parsing.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let twitter = "https://twitter.com/search?q=Russian&src=trend_click&vertical=trends"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_twitter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `youtube` [INFO] [stdout] --> src/utils/string_parsing.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let youtube = "https://www.youtube.com/watch?v=3dcli9i_pvA"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_youtube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_args` is never used [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn handle_args(args: Vec){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_help` is never used [INFO] [stdout] --> src/main.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn display_help(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `standard_login_flow` is never used [INFO] [stdout] --> src/login/standard_login.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn standard_login_flow(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_tcp_response` is never used [INFO] [stdout] --> src/login/standard_login.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn handle_tcp_response(stream: TcpStream){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tcp_listener` is never used [INFO] [stdout] --> src/login/standard_login.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn create_tcp_listener(port: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_stream` is never used [INFO] [stdout] --> src/login/standard_login.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn handle_stream(mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_received_url` is never used [INFO] [stdout] --> src/login/standard_login.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn parse_received_url(data: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_login_page` is never used [INFO] [stdout] --> src/login/standard_login.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn open_login_page(callback: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TwitterParams` is never constructed [INFO] [stdout] --> src/utils/string_parsing.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | struct TwitterParams { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `TwitterCLI` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `twitter_cli` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/login/standard_login.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | open::that(uri); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = open::that(uri); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SerializerTests` should have a snake case name [INFO] [stdout] --> src/utils/serializer.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | mod SerializerTests { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `serializer_tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `parseQueryTests` should have a snake case name [INFO] [stdout] --> src/utils/string_parsing.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | mod parseQueryTests { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_query_tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "2f36d6340d0d5a5b21eefdf0a719c488b3b62bedc441e944d20171d63568f412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f36d6340d0d5a5b21eefdf0a719c488b3b62bedc441e944d20171d63568f412", kill_on_drop: false }` [INFO] [stdout] 2f36d6340d0d5a5b21eefdf0a719c488b3b62bedc441e944d20171d63568f412