[INFO] cloning repository https://github.com/Adit-Chauhan/youtube_tui
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Adit-Chauhan/youtube_tui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdit-Chauhan%2Fyoutube_tui", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdit-Chauhan%2Fyoutube_tui'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9e3bf57e189a70e9e3f9182851582b49f80328c8
[INFO] testing Adit-Chauhan/youtube_tui against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdit-Chauhan%2Fyoutube_tui" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Adit-Chauhan/youtube_tui
[INFO] finished tweaking git repo https://github.com/Adit-Chauhan/youtube_tui
[INFO] tweaked toml for git repo https://github.com/Adit-Chauhan/youtube_tui written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Adit-Chauhan/youtube_tui on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Adit-Chauhan/youtube_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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a236f2c2364a5e35efd9583b0e85a6dd8e2eeec8831d5f97f2f0211d77a6047b
[INFO] running `Command { std: "docker" "start" "-a" "a236f2c2364a5e35efd9583b0e85a6dd8e2eeec8831d5f97f2f0211d77a6047b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a236f2c2364a5e35efd9583b0e85a6dd8e2eeec8831d5f97f2f0211d77a6047b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a236f2c2364a5e35efd9583b0e85a6dd8e2eeec8831d5f97f2f0211d77a6047b", kill_on_drop: false }`
[INFO] [stdout] a236f2c2364a5e35efd9583b0e85a6dd8e2eeec8831d5f97f2f0211d77a6047b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dc04ac51bc7a2271643051f14edaff7dbb25cd06b82dc0da7478badbb06c437f
[INFO] running `Command { std: "docker" "start" "-a" "dc04ac51bc7a2271643051f14edaff7dbb25cd06b82dc0da7478badbb06c437f", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling pin-project-lite v0.2.7
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling tokio v1.14.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling serde_derive v1.0.131
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling mio v0.7.14
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling serde v1.0.131
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling http v0.2.5
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling tracing-core v0.1.21
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling once_cell v1.9.0
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling futures-sink v0.3.17
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling futures-io v0.3.17
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling tracing v0.1.29
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling crc32fast v1.3.0
[INFO] [stderr]    Compiling openssl-probe v0.1.4
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling h2 v0.3.9
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling socket2 v0.4.2
[INFO] [stderr]    Compiling serde_json v1.0.73
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling weezl v0.1.5
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling numtoa v0.1.0
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling gif v0.11.3
[INFO] [stderr]    Compiling termion v1.5.6
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling rmp v0.8.10
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling hyper v0.14.16
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling ipnet v2.3.1
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling bytemuck v1.7.2
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling tui v0.16.0
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling ueberzug v0.1.0
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling fs_extra v1.2.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling reqwest v0.11.7
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling rmp-serde v0.15.5
[INFO] [stderr]    Compiling youtube_tui v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::friendly_panic::set_hooks as sh`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::friendly_panic::set_hooks as sh;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
[INFO] [stdout]  --> src/friendly_panic.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::panic::PanicInfo;
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
[INFO] [stdout]   --> src/friendly_panic.rs:59:57
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn panic_func<Usr: 'static + fmt::Display>(panic_info: &PanicInfo) {
[INFO] [stdout]    |                                                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `error_msg` is never read
[INFO] [stdout]  --> src/friendly_panic.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct UserPanic {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 7 |     pub error_msg: &'static str,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `UserPanic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_hooks` is never used
[INFO] [stdout]   --> src/friendly_panic.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn set_hooks() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `panic_func` is never used
[INFO] [stdout]   --> src/friendly_panic.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn panic_func<Usr: 'static + fmt::Display>(panic_info: &PanicInfo) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:53:47
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut app = App::new_from_menu(unsafe { START_AT.clone() });
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/config_reader.rs:53:27
[INFO] [stdout]    |
[INFO] [stdout] 53 |         info!("API = {}", YT_API_KEY);
[INFO] [stdout]    |                           ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/config_reader.rs:54:31
[INFO] [stdout]    |
[INFO] [stdout] 54 |         info!("COOKIES = {}", YT_COOKIES);
[INFO] [stdout]    |                               ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/config_reader.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |         info!("CHANNEL = {}", YT_SELF_CHANNEL_NAME);
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/config_reader.rs:56:34
[INFO] [stdout]    |
[INFO] [stdout] 56 |         info!("CACHE PATH = {}", CACHE_PATH);
[INFO] [stdout]    |                                  ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/config_reader.rs:57:34
[INFO] [stdout]    |
[INFO] [stdout] 57 |         info!("CACHE SIZE = {}", CACHE_MAX_SIZE);
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/config_reader.rs:58:33
[INFO] [stdout]    |
[INFO] [stdout] 58 |         info!("Video Dir = {}", CACHE_VIDEO_DIR);
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/config_reader.rs:59:29
[INFO] [stdout]    |
[INFO] [stdout] 59 |         info!("PERMA = {}", PERMA);
[INFO] [stdout]    |                             ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/commands.rs:27:50
[INFO] [stdout]    |
[INFO] [stdout] 27 |         .arg(static_format!("{}/%(id)s.%(ext)s", CACHE_VIDEO_DIR))
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/commands.rs:39:48
[INFO] [stdout]    |
[INFO] [stdout] 39 |     if Path::new(&static_format!("{}/{}.webm", CACHE_VIDEO_DIR, vid.id)).exists() {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/commands.rs:42:47
[INFO] [stdout]    |
[INFO] [stdout] 42 |             .arg(static_format!("{}/{}.webm", CACHE_VIDEO_DIR, vid.id))
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ui/utils.rs:102:56
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let filename = static_format!("{}/{}.jpg", CACHE_PATH, videos[x].id);
[INFO] [stdout]     |                                                        ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ui/utils.rs:113:61
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 return static_format!("{}/loadingPath.png", PERMA);
[INFO] [stdout]     |                                                             ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ui/utils.rs:120:52
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let filename = static_format!("{}/{}.jpg", CACHE_PATH, vid.id);
[INFO] [stdout]     |                                                    ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ui/utils.rs:129:57
[INFO] [stdout]     |
[INFO] [stdout] 129 |             return static_format!("{}/loadingPath.png", PERMA);
[INFO] [stdout]     |                                                         ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]  --> src/web/api.rs:7:164
[INFO] [stdout]   |
[INFO] [stdout] 7 | ...={}&maxResults={}&key={}&order=unread",YT_SELF_CHANNEL_NAME,results,YT_API_KEY);
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]  --> src/web/api.rs:7:193
[INFO] [stdout]   |
[INFO] [stdout] 7 | ...&order=unread",YT_SELF_CHANNEL_NAME,results,YT_API_KEY);
[INFO] [stdout]   |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/api.rs:15:182
[INFO] [stdout]    |
[INFO] [stdout] 15 | ...s={}&key={}&pageToken={}&order=unread",YT_SELF_CHANNEL_NAME,results,YT_API_KEY,pg_token);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/api.rs:15:211
[INFO] [stdout]    |
[INFO] [stdout] 15 | ...&order=unread",YT_SELF_CHANNEL_NAME,results,YT_API_KEY,pg_token);
[INFO] [stdout]    |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/api.rs:27:174
[INFO] [stdout]    |
[INFO] [stdout] 27 | ...=50&playlistId={}&key={}",uploads_playlist ,YT_API_KEY);
[INFO] [stdout]    |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/api.rs:32:201
[INFO] [stdout]    |
[INFO] [stdout] 32 | ...={}&key={}",page.unwrap(),uploads_playlist ,YT_API_KEY);
[INFO] [stdout]    |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/api.rs:40:161
[INFO] [stdout]    |
[INFO] [stdout] 40 | ...ls&maxResults=50&playlistId={}&key={}", id ,YT_API_KEY);
[INFO] [stdout]    |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/api.rs:44:187
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...={}&playlistId={}&key={}",page.unwrap(),id ,YT_API_KEY);
[INFO] [stdout]    |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/api.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         YT_API_KEY
[INFO] [stdout]    |         ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/extra.rs:23:53
[INFO] [stdout]    |
[INFO] [stdout] 23 |             .open(&static_format!("{}/history.txt", PERMA))
[INFO] [stdout]    |                                                     ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/extra.rs:31:72
[INFO] [stdout]    |
[INFO] [stdout] 31 |         if let Ok(lines) = read_lines(static_format!("{}/history.txt", PERMA)) {
[INFO] [stdout]    |                                                                        ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/extra.rs:60:64
[INFO] [stdout]    |
[INFO] [stdout] 60 |             fs::File::create(&static_format!("{}/history.txt", PERMA)).expect("File");
[INFO] [stdout]    |                                                                ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/extra.rs:120:56
[INFO] [stdout]     |
[INFO] [stdout] 120 |             .open(&static_format!("{}/watch_list.txt", PERMA))
[INFO] [stdout]     |                                                        ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/extra.rs:128:75
[INFO] [stdout]     |
[INFO] [stdout] 128 |         if let Ok(lines) = read_lines(static_format!("{}/watch_list.txt", PERMA)) {
[INFO] [stdout]     |                                                                           ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/extra.rs:150:67
[INFO] [stdout]     |
[INFO] [stdout] 150 |             fs::File::create(&static_format!("{}/watch_list.txt", PERMA)).expect("File");
[INFO] [stdout]     |                                                                   ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/utils.rs:133:40
[INFO] [stdout]     |
[INFO] [stdout] 133 |             static_format!("{}/{}/{}", PERMA, c.id, c.id)
[INFO] [stdout]     |                                        ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/utils.rs:138:45
[INFO] [stdout]     |
[INFO] [stdout] 138 |         &static_format!("{}/channels.json", PERMA)
[INFO] [stdout]     |                                             ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/utils.rs:144:64
[INFO] [stdout]     |
[INFO] [stdout] 144 |         fs::read_to_string(&static_format!("{}/channels.json", PERMA)).expect("Opened file");
[INFO] [stdout]     |                                                                ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/utils.rs:172:64
[INFO] [stdout]     |
[INFO] [stdout] 172 |         fs::read_to_string(&static_format!("{}/channels.json", PERMA)).expect("Opened file");
[INFO] [stdout]     |                                                                ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/utils.rs:186:70
[INFO] [stdout]     |
[INFO] [stdout] 186 |     json_file!(write & new_list, &static_format!("{}/channels.json", PERMA));
[INFO] [stdout]     |                                                                      ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/yt_channels.rs:46:51
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let foldername = &static_format!("{}/{}", PERMA, self.id);
[INFO] [stdout]    |                                                   ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/yt_channels.rs:47:57
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let filename = &static_format!("{}/{}/{}.json", PERMA, self.id, self.id);
[INFO] [stdout]    |                                                         ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/yt_channels.rs:126:51
[INFO] [stdout]     |
[INFO] [stdout] 126 |             &static_format!("{}/{}/{}_vids.json", PERMA, self.id, self.id)
[INFO] [stdout]     |                                                   ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/yt_channels.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |             PERMA,
[INFO] [stdout]     |             ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 14s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "dc04ac51bc7a2271643051f14edaff7dbb25cd06b82dc0da7478badbb06c437f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc04ac51bc7a2271643051f14edaff7dbb25cd06b82dc0da7478badbb06c437f", kill_on_drop: false }`
[INFO] [stdout] dc04ac51bc7a2271643051f14edaff7dbb25cd06b82dc0da7478badbb06c437f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 383668ce07612b09a99bfc3ab5e758b25ca705342cc93b1824601dbdd6c4944c
[INFO] running `Command { std: "docker" "start" "-a" "383668ce07612b09a99bfc3ab5e758b25ca705342cc93b1824601dbdd6c4944c", kill_on_drop: false }`
[INFO] [stderr]    Compiling youtube_tui v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::friendly_panic::set_hooks as sh`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::friendly_panic::set_hooks as sh;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
[INFO] [stdout]  --> src/friendly_panic.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::panic::PanicInfo;
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
[INFO] [stdout]   --> src/friendly_panic.rs:59:57
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn panic_func<Usr: 'static + fmt::Display>(panic_info: &PanicInfo) {
[INFO] [stdout]    |                                                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `error_msg` is never read
[INFO] [stdout]  --> src/friendly_panic.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct UserPanic {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 7 |     pub error_msg: &'static str,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `UserPanic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_hooks` is never used
[INFO] [stdout]   --> src/friendly_panic.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn set_hooks() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `panic_func` is never used
[INFO] [stdout]   --> src/friendly_panic.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn panic_func<Usr: 'static + fmt::Display>(panic_info: &PanicInfo) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:53:47
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut app = App::new_from_menu(unsafe { START_AT.clone() });
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/config_reader.rs:53:27
[INFO] [stdout]    |
[INFO] [stdout] 53 |         info!("API = {}", YT_API_KEY);
[INFO] [stdout]    |                           ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/config_reader.rs:54:31
[INFO] [stdout]    |
[INFO] [stdout] 54 |         info!("COOKIES = {}", YT_COOKIES);
[INFO] [stdout]    |                               ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/config_reader.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |         info!("CHANNEL = {}", YT_SELF_CHANNEL_NAME);
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/config_reader.rs:56:34
[INFO] [stdout]    |
[INFO] [stdout] 56 |         info!("CACHE PATH = {}", CACHE_PATH);
[INFO] [stdout]    |                                  ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/config_reader.rs:57:34
[INFO] [stdout]    |
[INFO] [stdout] 57 |         info!("CACHE SIZE = {}", CACHE_MAX_SIZE);
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/config_reader.rs:58:33
[INFO] [stdout]    |
[INFO] [stdout] 58 |         info!("Video Dir = {}", CACHE_VIDEO_DIR);
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/config_reader.rs:59:29
[INFO] [stdout]    |
[INFO] [stdout] 59 |         info!("PERMA = {}", PERMA);
[INFO] [stdout]    |                             ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/commands.rs:27:50
[INFO] [stdout]    |
[INFO] [stdout] 27 |         .arg(static_format!("{}/%(id)s.%(ext)s", CACHE_VIDEO_DIR))
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/commands.rs:39:48
[INFO] [stdout]    |
[INFO] [stdout] 39 |     if Path::new(&static_format!("{}/{}.webm", CACHE_VIDEO_DIR, vid.id)).exists() {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/commands.rs:42:47
[INFO] [stdout]    |
[INFO] [stdout] 42 |             .arg(static_format!("{}/{}.webm", CACHE_VIDEO_DIR, vid.id))
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ui/utils.rs:102:56
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let filename = static_format!("{}/{}.jpg", CACHE_PATH, videos[x].id);
[INFO] [stdout]     |                                                        ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ui/utils.rs:113:61
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 return static_format!("{}/loadingPath.png", PERMA);
[INFO] [stdout]     |                                                             ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ui/utils.rs:120:52
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let filename = static_format!("{}/{}.jpg", CACHE_PATH, vid.id);
[INFO] [stdout]     |                                                    ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ui/utils.rs:129:57
[INFO] [stdout]     |
[INFO] [stdout] 129 |             return static_format!("{}/loadingPath.png", PERMA);
[INFO] [stdout]     |                                                         ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]  --> src/web/api.rs:7:164
[INFO] [stdout]   |
[INFO] [stdout] 7 | ...={}&maxResults={}&key={}&order=unread",YT_SELF_CHANNEL_NAME,results,YT_API_KEY);
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]  --> src/web/api.rs:7:193
[INFO] [stdout]   |
[INFO] [stdout] 7 | ...&order=unread",YT_SELF_CHANNEL_NAME,results,YT_API_KEY);
[INFO] [stdout]   |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/api.rs:15:182
[INFO] [stdout]    |
[INFO] [stdout] 15 | ...s={}&key={}&pageToken={}&order=unread",YT_SELF_CHANNEL_NAME,results,YT_API_KEY,pg_token);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/api.rs:15:211
[INFO] [stdout]    |
[INFO] [stdout] 15 | ...&order=unread",YT_SELF_CHANNEL_NAME,results,YT_API_KEY,pg_token);
[INFO] [stdout]    |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/api.rs:27:174
[INFO] [stdout]    |
[INFO] [stdout] 27 | ...=50&playlistId={}&key={}",uploads_playlist ,YT_API_KEY);
[INFO] [stdout]    |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/api.rs:32:201
[INFO] [stdout]    |
[INFO] [stdout] 32 | ...={}&key={}",page.unwrap(),uploads_playlist ,YT_API_KEY);
[INFO] [stdout]    |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/api.rs:40:161
[INFO] [stdout]    |
[INFO] [stdout] 40 | ...ls&maxResults=50&playlistId={}&key={}", id ,YT_API_KEY);
[INFO] [stdout]    |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/api.rs:44:187
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...={}&playlistId={}&key={}",page.unwrap(),id ,YT_API_KEY);
[INFO] [stdout]    |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/api.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         YT_API_KEY
[INFO] [stdout]    |         ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/extra.rs:23:53
[INFO] [stdout]    |
[INFO] [stdout] 23 |             .open(&static_format!("{}/history.txt", PERMA))
[INFO] [stdout]    |                                                     ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/extra.rs:31:72
[INFO] [stdout]    |
[INFO] [stdout] 31 |         if let Ok(lines) = read_lines(static_format!("{}/history.txt", PERMA)) {
[INFO] [stdout]    |                                                                        ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/extra.rs:60:64
[INFO] [stdout]    |
[INFO] [stdout] 60 |             fs::File::create(&static_format!("{}/history.txt", PERMA)).expect("File");
[INFO] [stdout]    |                                                                ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/extra.rs:120:56
[INFO] [stdout]     |
[INFO] [stdout] 120 |             .open(&static_format!("{}/watch_list.txt", PERMA))
[INFO] [stdout]     |                                                        ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/extra.rs:128:75
[INFO] [stdout]     |
[INFO] [stdout] 128 |         if let Ok(lines) = read_lines(static_format!("{}/watch_list.txt", PERMA)) {
[INFO] [stdout]     |                                                                           ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/extra.rs:150:67
[INFO] [stdout]     |
[INFO] [stdout] 150 |             fs::File::create(&static_format!("{}/watch_list.txt", PERMA)).expect("File");
[INFO] [stdout]     |                                                                   ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/utils.rs:133:40
[INFO] [stdout]     |
[INFO] [stdout] 133 |             static_format!("{}/{}/{}", PERMA, c.id, c.id)
[INFO] [stdout]     |                                        ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/utils.rs:138:45
[INFO] [stdout]     |
[INFO] [stdout] 138 |         &static_format!("{}/channels.json", PERMA)
[INFO] [stdout]     |                                             ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/utils.rs:144:64
[INFO] [stdout]     |
[INFO] [stdout] 144 |         fs::read_to_string(&static_format!("{}/channels.json", PERMA)).expect("Opened file");
[INFO] [stdout]     |                                                                ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/utils.rs:172:64
[INFO] [stdout]     |
[INFO] [stdout] 172 |         fs::read_to_string(&static_format!("{}/channels.json", PERMA)).expect("Opened file");
[INFO] [stdout]     |                                                                ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/utils.rs:186:70
[INFO] [stdout]     |
[INFO] [stdout] 186 |     json_file!(write & new_list, &static_format!("{}/channels.json", PERMA));
[INFO] [stdout]     |                                                                      ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/yt_channels.rs:46:51
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let foldername = &static_format!("{}/{}", PERMA, self.id);
[INFO] [stdout]    |                                                   ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/web/yt_channels.rs:47:57
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let filename = &static_format!("{}/{}/{}.json", PERMA, self.id, self.id);
[INFO] [stdout]    |                                                         ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/yt_channels.rs:126:51
[INFO] [stdout]     |
[INFO] [stdout] 126 |             &static_format!("{}/{}/{}_vids.json", PERMA, self.id, self.id)
[INFO] [stdout]     |                                                   ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/web/yt_channels.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |             PERMA,
[INFO] [stdout]     |             ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "383668ce07612b09a99bfc3ab5e758b25ca705342cc93b1824601dbdd6c4944c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "383668ce07612b09a99bfc3ab5e758b25ca705342cc93b1824601dbdd6c4944c", kill_on_drop: false }`
[INFO] [stdout] 383668ce07612b09a99bfc3ab5e758b25ca705342cc93b1824601dbdd6c4944c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0001ee3e0f5ccaa54909bd421bef0828d2f7c359c22961ac2598132d76742ca1
[INFO] running `Command { std: "docker" "start" "-a" "0001ee3e0f5ccaa54909bd421bef0828d2f7c359c22961ac2598132d76742ca1", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `crate::friendly_panic::set_hooks as sh`
[INFO] [stderr]   --> src/main.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use crate::friendly_panic::set_hooks as sh;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
[INFO] [stderr]  --> src/friendly_panic.rs:3:17
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::panic::PanicInfo;
[INFO] [stderr]   |                 ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
[INFO] [stderr]   --> src/friendly_panic.rs:59:57
[INFO] [stderr]    |
[INFO] [stderr] 59 | fn panic_func<Usr: 'static + fmt::Display>(panic_info: &PanicInfo) {
[INFO] [stderr]    |                                                         ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `error_msg` is never read
[INFO] [stderr]  --> src/friendly_panic.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct UserPanic {
[INFO] [stderr]   |            --------- field in this struct
[INFO] [stderr] 7 |     pub error_msg: &'static str,
[INFO] [stderr]   |         ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `UserPanic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `set_hooks` is never used
[INFO] [stderr]   --> src/friendly_panic.rs:54:8
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub fn set_hooks() {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `panic_func` is never used
[INFO] [stderr]   --> src/friendly_panic.rs:59:4
[INFO] [stderr]    |
[INFO] [stderr] 59 | fn panic_func<Usr: 'static + fmt::Display>(panic_info: &PanicInfo) {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/main.rs:53:47
[INFO] [stderr]    |
[INFO] [stderr] 53 |     let mut app = App::new_from_menu(unsafe { START_AT.clone() });
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/config_reader.rs:53:27
[INFO] [stderr]    |
[INFO] [stderr] 53 |         info!("API = {}", YT_API_KEY);
[INFO] [stderr]    |                           ^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/config_reader.rs:54:31
[INFO] [stderr]    |
[INFO] [stderr] 54 |         info!("COOKIES = {}", YT_COOKIES);
[INFO] [stderr]    |                               ^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/config_reader.rs:55:31
[INFO] [stderr]    |
[INFO] [stderr] 55 |         info!("CHANNEL = {}", YT_SELF_CHANNEL_NAME);
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/config_reader.rs:56:34
[INFO] [stderr]    |
[INFO] [stderr] 56 |         info!("CACHE PATH = {}", CACHE_PATH);
[INFO] [stderr]    |                                  ^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/config_reader.rs:57:34
[INFO] [stderr]    |
[INFO] [stderr] 57 |         info!("CACHE SIZE = {}", CACHE_MAX_SIZE);
[INFO] [stderr]    |                                  ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/config_reader.rs:58:33
[INFO] [stderr]    |
[INFO] [stderr] 58 |         info!("Video Dir = {}", CACHE_VIDEO_DIR);
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/config_reader.rs:59:29
[INFO] [stderr]    |
[INFO] [stderr] 59 |         info!("PERMA = {}", PERMA);
[INFO] [stderr]    |                             ^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/commands.rs:27:50
[INFO] [stderr]    |
[INFO] [stderr] 27 |         .arg(static_format!("{}/%(id)s.%(ext)s", CACHE_VIDEO_DIR))
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/commands.rs:39:48
[INFO] [stderr]    |
[INFO] [stderr] 39 |     if Path::new(&static_format!("{}/{}.webm", CACHE_VIDEO_DIR, vid.id)).exists() {
[INFO] [stderr]    |                                                ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/commands.rs:42:47
[INFO] [stderr]    |
[INFO] [stderr] 42 |             .arg(static_format!("{}/{}.webm", CACHE_VIDEO_DIR, vid.id))
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/ui/utils.rs:102:56
[INFO] [stderr]     |
[INFO] [stderr] 102 |             let filename = static_format!("{}/{}.jpg", CACHE_PATH, videos[x].id);
[INFO] [stderr]     |                                                        ^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/ui/utils.rs:113:61
[INFO] [stderr]     |
[INFO] [stderr] 113 |                 return static_format!("{}/loadingPath.png", PERMA);
[INFO] [stderr]     |                                                             ^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/ui/utils.rs:120:52
[INFO] [stderr]     |
[INFO] [stderr] 120 |         let filename = static_format!("{}/{}.jpg", CACHE_PATH, vid.id);
[INFO] [stderr]     |                                                    ^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/ui/utils.rs:129:57
[INFO] [stderr]     |
[INFO] [stderr] 129 |             return static_format!("{}/loadingPath.png", PERMA);
[INFO] [stderr]     |                                                         ^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]  --> src/web/api.rs:7:164
[INFO] [stderr]   |
[INFO] [stderr] 7 | ...={}&maxResults={}&key={}&order=unread",YT_SELF_CHANNEL_NAME,results,YT_API_KEY);
[INFO] [stderr]   |                                           ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]   |
[INFO] [stderr]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]  --> src/web/api.rs:7:193
[INFO] [stderr]   |
[INFO] [stderr] 7 | ...&order=unread",YT_SELF_CHANNEL_NAME,results,YT_API_KEY);
[INFO] [stderr]   |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]   |
[INFO] [stderr]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/web/api.rs:15:182
[INFO] [stderr]    |
[INFO] [stderr] 15 | ...s={}&key={}&pageToken={}&order=unread",YT_SELF_CHANNEL_NAME,results,YT_API_KEY,pg_token);
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/web/api.rs:15:211
[INFO] [stderr]    |
[INFO] [stderr] 15 | ...&order=unread",YT_SELF_CHANNEL_NAME,results,YT_API_KEY,pg_token);
[INFO] [stderr]    |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/web/api.rs:27:174
[INFO] [stderr]    |
[INFO] [stderr] 27 | ...=50&playlistId={}&key={}",uploads_playlist ,YT_API_KEY);
[INFO] [stderr]    |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/web/api.rs:32:201
[INFO] [stderr]    |
[INFO] [stderr] 32 | ...={}&key={}",page.unwrap(),uploads_playlist ,YT_API_KEY);
[INFO] [stderr]    |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/web/api.rs:40:161
[INFO] [stderr]    |
[INFO] [stderr] 40 | ...ls&maxResults=50&playlistId={}&key={}", id ,YT_API_KEY);
[INFO] [stderr]    |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/web/api.rs:44:187
[INFO] [stderr]    |
[INFO] [stderr] 44 | ...={}&playlistId={}&key={}",page.unwrap(),id ,YT_API_KEY);
[INFO] [stderr]    |                                                ^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/web/api.rs:54:9
[INFO] [stderr]    |
[INFO] [stderr] 54 |         YT_API_KEY
[INFO] [stderr]    |         ^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/web/extra.rs:23:53
[INFO] [stderr]    |
[INFO] [stderr] 23 |             .open(&static_format!("{}/history.txt", PERMA))
[INFO] [stderr]    |                                                     ^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/web/extra.rs:31:72
[INFO] [stderr]    |
[INFO] [stderr] 31 |         if let Ok(lines) = read_lines(static_format!("{}/history.txt", PERMA)) {
[INFO] [stderr]    |                                                                        ^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/web/extra.rs:60:64
[INFO] [stderr]    |
[INFO] [stderr] 60 |             fs::File::create(&static_format!("{}/history.txt", PERMA)).expect("File");
[INFO] [stderr]    |                                                                ^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/web/extra.rs:120:56
[INFO] [stderr]     |
[INFO] [stderr] 120 |             .open(&static_format!("{}/watch_list.txt", PERMA))
[INFO] [stderr]     |                                                        ^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/web/extra.rs:128:75
[INFO] [stderr]     |
[INFO] [stderr] 128 |         if let Ok(lines) = read_lines(static_format!("{}/watch_list.txt", PERMA)) {
[INFO] [stderr]     |                                                                           ^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/web/extra.rs:150:67
[INFO] [stderr]     |
[INFO] [stderr] 150 |             fs::File::create(&static_format!("{}/watch_list.txt", PERMA)).expect("File");
[INFO] [stderr]     |                                                                   ^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/web/utils.rs:133:40
[INFO] [stderr]     |
[INFO] [stderr] 133 |             static_format!("{}/{}/{}", PERMA, c.id, c.id)
[INFO] [stderr]     |                                        ^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/web/utils.rs:138:45
[INFO] [stderr]     |
[INFO] [stderr] 138 |         &static_format!("{}/channels.json", PERMA)
[INFO] [stderr]     |                                             ^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/web/utils.rs:144:64
[INFO] [stderr]     |
[INFO] [stderr] 144 |         fs::read_to_string(&static_format!("{}/channels.json", PERMA)).expect("Opened file");
[INFO] [stderr]     |                                                                ^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/web/utils.rs:172:64
[INFO] [stderr]     |
[INFO] [stderr] 172 |         fs::read_to_string(&static_format!("{}/channels.json", PERMA)).expect("Opened file");
[INFO] [stderr]     |                                                                ^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/web/utils.rs:186:70
[INFO] [stderr]     |
[INFO] [stderr] 186 |     json_file!(write & new_list, &static_format!("{}/channels.json", PERMA));
[INFO] [stderr]     |                                                                      ^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/web/yt_channels.rs:46:51
[INFO] [stderr]    |
[INFO] [stderr] 46 |         let foldername = &static_format!("{}/{}", PERMA, self.id);
[INFO] [stderr]    |                                                   ^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/web/yt_channels.rs:47:57
[INFO] [stderr]    |
[INFO] [stderr] 47 |         let filename = &static_format!("{}/{}/{}.json", PERMA, self.id, self.id);
[INFO] [stderr]    |                                                         ^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/web/yt_channels.rs:126:51
[INFO] [stderr]     |
[INFO] [stderr] 126 |             &static_format!("{}/{}/{}_vids.json", PERMA, self.id, self.id)
[INFO] [stderr]     |                                                   ^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/web/yt_channels.rs:132:13
[INFO] [stderr]     |
[INFO] [stderr] 132 |             PERMA,
[INFO] [stderr]     |             ^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: `youtube_tui` (bin "youtube_tui" test) generated 45 warnings (run `cargo fix --bin "youtube_tui" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/youtube_tui-fe91defec9903be5)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0001ee3e0f5ccaa54909bd421bef0828d2f7c359c22961ac2598132d76742ca1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0001ee3e0f5ccaa54909bd421bef0828d2f7c359c22961ac2598132d76742ca1", kill_on_drop: false }`
[INFO] [stdout] 0001ee3e0f5ccaa54909bd421bef0828d2f7c359c22961ac2598132d76742ca1
