[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 try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsaarine%2FTwitterCLI" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psaarine/TwitterCLI on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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-11/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: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45ed89ff1789b30789bc11eb4224cb9f9c48af3cc281bbb178a692f12b81a795 [INFO] running `Command { std: "docker" "start" "-a" "45ed89ff1789b30789bc11eb4224cb9f9c48af3cc281bbb178a692f12b81a795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45ed89ff1789b30789bc11eb4224cb9f9c48af3cc281bbb178a692f12b81a795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45ed89ff1789b30789bc11eb4224cb9f9c48af3cc281bbb178a692f12b81a795", kill_on_drop: false }` [INFO] [stdout] 45ed89ff1789b30789bc11eb4224cb9f9c48af3cc281bbb178a692f12b81a795 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38d2780c7e072f6e3fc35833f356fd0061ba52702bd39b64206e7092cd1aea2e [INFO] running `Command { std: "docker" "start" "-a" "38d2780c7e072f6e3fc35833f356fd0061ba52702bd39b64206e7092cd1aea2e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling open v2.1.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_derive v1.0.136 [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 is never used: `handle_args` [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 is never used: `display_help` [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 is never used: `standard_login_flow` [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 is never used: `handle_tcp_response` [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 is never used: `create_tcp_listener` [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 is never used: `handle_stream` [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 is never used: `parse_received_url` [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 is never used: `open_login_page` [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 function is never used: `new` [INFO] [stdout] --> src/utils/serializer.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/utils/serializer.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add(& mut self, key: impl ToString, value: impl ToString) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_json` [INFO] [stdout] --> src/utils/serializer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_json(& mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_query` [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 is never used: `parse_param_couple` [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] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `twitter_cli` [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.40s [INFO] running `Command { std: "docker" "inspect" "38d2780c7e072f6e3fc35833f356fd0061ba52702bd39b64206e7092cd1aea2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d2780c7e072f6e3fc35833f356fd0061ba52702bd39b64206e7092cd1aea2e", kill_on_drop: false }` [INFO] [stdout] 38d2780c7e072f6e3fc35833f356fd0061ba52702bd39b64206e7092cd1aea2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b282d1e002849bae577b1244e26a07b87824da45b04c4f53f9968471f18dc8f3 [INFO] running `Command { std: "docker" "start" "-a" "b282d1e002849bae577b1244e26a07b87824da45b04c4f53f9968471f18dc8f3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 is never used: `handle_args` [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 is never used: `display_help` [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 is never used: `standard_login_flow` [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 is never used: `handle_tcp_response` [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 is never used: `create_tcp_listener` [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 is never used: `handle_stream` [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 is never used: `parse_received_url` [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 is never used: `open_login_page` [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 is never constructed: `TwitterParams` [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] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `twitter_cli` [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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 18.07s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/TwitterCLI-fd5695e1be1d200a) [INFO] running `Command { std: "docker" "inspect" "b282d1e002849bae577b1244e26a07b87824da45b04c4f53f9968471f18dc8f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b282d1e002849bae577b1244e26a07b87824da45b04c4f53f9968471f18dc8f3", kill_on_drop: false }` [INFO] [stdout] b282d1e002849bae577b1244e26a07b87824da45b04c4f53f9968471f18dc8f3