[INFO] cloning repository https://github.com/reka-juhasz/yt-tui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/reka-juhasz/yt-tui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freka-juhasz%2Fyt-tui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freka-juhasz%2Fyt-tui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3abfda4839b34df23760b7a89d380db42f709d1e [INFO] building reka-juhasz/yt-tui against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freka-juhasz%2Fyt-tui" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/reka-juhasz/yt-tui [INFO] finished tweaking git repo https://github.com/reka-juhasz/yt-tui [INFO] tweaked toml for git repo https://github.com/reka-juhasz/yt-tui written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/reka-juhasz/yt-tui on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/reka-juhasz/yt-tui 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossterm_winapi v0.7.0 [INFO] [stderr] Downloaded tiny_http v0.11.0 [INFO] [stderr] Downloaded crossterm_winapi v0.6.2 [INFO] [stderr] Downloaded tui v0.14.0 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded crossterm v0.18.2 [INFO] [stderr] Downloaded crossterm v0.19.0 [INFO] [stderr] Downloaded signal-hook v0.1.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5eb41574f9b14cfc630bf3c16fc105307dad7884d22e9e7170f6fc374dd8f84b [INFO] running `Command { std: "docker" "start" "-a" "5eb41574f9b14cfc630bf3c16fc105307dad7884d22e9e7170f6fc374dd8f84b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eb41574f9b14cfc630bf3c16fc105307dad7884d22e9e7170f6fc374dd8f84b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eb41574f9b14cfc630bf3c16fc105307dad7884d22e9e7170f6fc374dd8f84b", kill_on_drop: false }` [INFO] [stdout] 5eb41574f9b14cfc630bf3c16fc105307dad7884d22e9e7170f6fc374dd8f84b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2dc78f86361964e1c8085276bc58fc88bed85a3d430b7097dc4c55c175f2414 [INFO] running `Command { std: "docker" "start" "-a" "c2dc78f86361964e1c8085276bc58fc88bed85a3d430b7097dc4c55c175f2414", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling crossterm v0.18.2 [INFO] [stderr] Compiling crossterm v0.19.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling webbrowser v0.8.15 [INFO] [stderr] Compiling tiny_http v0.11.0 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling tui v0.14.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling oauth2 v4.4.2 [INFO] [stderr] Compiling yt_tui v1.31.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::colors::load_theme_from_file` [INFO] [stdout] --> src/app_state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::colors::load_theme_from_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::load_and_set_token` [INFO] [stdout] --> src/app_state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::state::load_and_set_token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::linux::raw::stat` [INFO] [stdout] --> src/app_state.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::linux::raw::stat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/utilities.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/utilities.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Builder` and `Target` [INFO] [stdout] --> src/main.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use env_logger::{Builder, Target}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::LevelFilter` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use log::LevelFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::os::linux::raw::stat`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/app_state.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::linux::raw::stat; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access_token_str` [INFO] [stdout] --> src/app_state.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | ... let access_token_str = token.access_token().secret(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_access_token_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_theme_files` is never used [INFO] [stdout] --> src/app_state.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn get_theme_files() -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tui_lines`, `home_box`, `account_link`, `account_auth_success`, and `search_duration` are never read [INFO] [stdout] --> src/colors.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Theme { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 25 | pub tui_lines: MyColor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub home_box: MyColor, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub account_link: MyColor, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | pub account_auth_success: MyColor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub search_duration: MyColor, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Theme` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/authenticate.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | webbrowser::open(auth_url.as_str()); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 110 | let _ = webbrowser::open(auth_url.as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `resourceId` should have a snake case name [INFO] [stdout] --> src/utilities.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub resourceId: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `resource_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `videoId` should have a snake case name [INFO] [stdout] --> src/utilities.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub videoId: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `video_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `videoId` should have a snake case name [INFO] [stdout] --> src/utilities.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | videoId: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `video_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `contentDetails` should have a snake case name [INFO] [stdout] --> src/utilities.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | contentDetails: ContentDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `content_details` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `channelTitle` should have a snake case name [INFO] [stdout] --> src/utilities.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | channelTitle: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `channel_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.68s [INFO] running `Command { std: "docker" "inspect" "c2dc78f86361964e1c8085276bc58fc88bed85a3d430b7097dc4c55c175f2414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2dc78f86361964e1c8085276bc58fc88bed85a3d430b7097dc4c55c175f2414", kill_on_drop: false }` [INFO] [stdout] c2dc78f86361964e1c8085276bc58fc88bed85a3d430b7097dc4c55c175f2414 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 044dfe2d044cc6844fe69ccf930516ce40e5a320b2a89914ea48d2155ee55f40 [INFO] running `Command { std: "docker" "start" "-a" "044dfe2d044cc6844fe69ccf930516ce40e5a320b2a89914ea48d2155ee55f40", kill_on_drop: false }` [INFO] [stderr] Compiling yt_tui v1.31.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::colors::load_theme_from_file` [INFO] [stdout] --> src/app_state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::colors::load_theme_from_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::load_and_set_token` [INFO] [stdout] --> src/app_state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::state::load_and_set_token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::linux::raw::stat` [INFO] [stdout] --> src/app_state.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::linux::raw::stat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/utilities.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/utilities.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Builder` and `Target` [INFO] [stdout] --> src/main.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use env_logger::{Builder, Target}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::LevelFilter` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use log::LevelFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::os::linux::raw::stat`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/app_state.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::linux::raw::stat; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access_token_str` [INFO] [stdout] --> src/app_state.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | ... let access_token_str = token.access_token().secret(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_access_token_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_theme_files` is never used [INFO] [stdout] --> src/app_state.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn get_theme_files() -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tui_lines`, `home_box`, `account_link`, `account_auth_success`, and `search_duration` are never read [INFO] [stdout] --> src/colors.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Theme { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 25 | pub tui_lines: MyColor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub home_box: MyColor, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub account_link: MyColor, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | pub account_auth_success: MyColor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub search_duration: MyColor, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Theme` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/authenticate.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | webbrowser::open(auth_url.as_str()); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 110 | let _ = webbrowser::open(auth_url.as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `resourceId` should have a snake case name [INFO] [stdout] --> src/utilities.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub resourceId: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `resource_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `videoId` should have a snake case name [INFO] [stdout] --> src/utilities.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub videoId: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `video_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `videoId` should have a snake case name [INFO] [stdout] --> src/utilities.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | videoId: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `video_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `contentDetails` should have a snake case name [INFO] [stdout] --> src/utilities.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | contentDetails: ContentDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `content_details` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `channelTitle` should have a snake case name [INFO] [stdout] --> src/utilities.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | channelTitle: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `channel_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.75s [INFO] running `Command { std: "docker" "inspect" "044dfe2d044cc6844fe69ccf930516ce40e5a320b2a89914ea48d2155ee55f40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "044dfe2d044cc6844fe69ccf930516ce40e5a320b2a89914ea48d2155ee55f40", kill_on_drop: false }` [INFO] [stdout] 044dfe2d044cc6844fe69ccf930516ce40e5a320b2a89914ea48d2155ee55f40