[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] ddd289949d6faa793c28adf1e3f7693550262f72 [INFO] building reka-juhasz/yt-tui against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freka-juhasz%2Fyt-tui" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/reka-juhasz/yt-tui on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossterm_winapi v0.6.2 [INFO] [stderr] Downloaded oauth2 v4.4.2 [INFO] [stderr] Downloaded chunked_transfer v1.5.0 [INFO] [stderr] Downloaded crossterm_winapi v0.7.0 [INFO] [stderr] Downloaded clap_derive v4.5.41 [INFO] [stderr] Downloaded clap v4.5.41 [INFO] [stderr] Downloaded tiny_http v0.11.0 [INFO] [stderr] Downloaded crossterm v0.19.0 [INFO] [stderr] Downloaded tui v0.14.0 [INFO] [stderr] Downloaded crossterm v0.18.2 [INFO] [stderr] Downloaded signal-hook v0.1.17 [INFO] [stderr] Downloaded clap_builder v4.5.41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ba08a6a98bfdc812de6d2c76355893fb015b7fea69873048e77b30a823b20cf [INFO] running `Command { std: "docker" "start" "-a" "8ba08a6a98bfdc812de6d2c76355893fb015b7fea69873048e77b30a823b20cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ba08a6a98bfdc812de6d2c76355893fb015b7fea69873048e77b30a823b20cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba08a6a98bfdc812de6d2c76355893fb015b7fea69873048e77b30a823b20cf", kill_on_drop: false }` [INFO] [stdout] 8ba08a6a98bfdc812de6d2c76355893fb015b7fea69873048e77b30a823b20cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24f063430c0029071923a193c834d1e081efa1d5b993e874a857bebcc57701f8 [INFO] running `Command { std: "docker" "start" "-a" "24f063430c0029071923a193c834d1e081efa1d5b993e874a857bebcc57701f8", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling crossterm v0.18.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling chunked_transfer v1.5.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling tui v0.14.0 [INFO] [stderr] Compiling tiny_http v0.11.0 [INFO] [stderr] Compiling webbrowser v0.8.15 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling crossterm v0.19.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [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: field `redirect_uris` is never read [INFO] [stdout] --> src/authenticate.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Installed { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub redirect_uris: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Installed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 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 1m 45s [INFO] running `Command { std: "docker" "inspect" "24f063430c0029071923a193c834d1e081efa1d5b993e874a857bebcc57701f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24f063430c0029071923a193c834d1e081efa1d5b993e874a857bebcc57701f8", kill_on_drop: false }` [INFO] [stdout] 24f063430c0029071923a193c834d1e081efa1d5b993e874a857bebcc57701f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab3f6f9a74a15bdb3d930128519eb98f9119a22460d0120dd9bf9dbe93303e93 [INFO] running `Command { std: "docker" "start" "-a" "ab3f6f9a74a15bdb3d930128519eb98f9119a22460d0120dd9bf9dbe93303e93", 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: field `redirect_uris` is never read [INFO] [stdout] --> src/authenticate.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Installed { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub redirect_uris: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Installed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 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 4.86s [INFO] running `Command { std: "docker" "inspect" "ab3f6f9a74a15bdb3d930128519eb98f9119a22460d0120dd9bf9dbe93303e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab3f6f9a74a15bdb3d930128519eb98f9119a22460d0120dd9bf9dbe93303e93", kill_on_drop: false }` [INFO] [stdout] ab3f6f9a74a15bdb3d930128519eb98f9119a22460d0120dd9bf9dbe93303e93