[INFO] cloning repository https://github.com/ying001ch/m3u8-downloader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ying001ch/m3u8-downloader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fying001ch%2Fm3u8-downloader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fying001ch%2Fm3u8-downloader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4747c18d913d01a5f11ddef7adfbdb39d2e855d2 [INFO] checking ying001ch/m3u8-downloader against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fying001ch%2Fm3u8-downloader" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ying001ch/m3u8-downloader on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ying001ch/m3u8-downloader [INFO] finished tweaking git repo https://github.com/ying001ch/m3u8-downloader [INFO] tweaked toml for git repo https://github.com/ying001ch/m3u8-downloader written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ying001ch/m3u8-downloader 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa76bf942542d278080146057e5e055b7a6e0f1c3d9633edfa5b55b0cdc23462 [INFO] running `Command { std: "docker" "start" "-a" "fa76bf942542d278080146057e5e055b7a6e0f1c3d9633edfa5b55b0cdc23462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa76bf942542d278080146057e5e055b7a6e0f1c3d9633edfa5b55b0cdc23462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa76bf942542d278080146057e5e055b7a6e0f1c3d9633edfa5b55b0cdc23462", kill_on_drop: false }` [INFO] [stdout] fa76bf942542d278080146057e5e055b7a6e0f1c3d9633edfa5b55b0cdc23462 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48a3cfe0709b8c2cbc6434583896b562b0b8761af64ff299aad6ff57b0ecbc77 [INFO] running `Command { std: "docker" "start" "-a" "48a3cfe0709b8c2cbc6434583896b562b0b8761af64ff299aad6ff57b0ecbc77", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking itoa v1.0.8 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking aes v0.7.4 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking m3u8-downloader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::join` [INFO] [stdout] --> src/Manager.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::AbortHandle` [INFO] [stdout] --> src/Manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::task::AbortHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/Manager.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/http_util.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, bail, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str_util` [INFO] [stdout] --> src/http_util.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{str_util, config}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `string` [INFO] [stdout] --> src/combine.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, io::Write, process::{Command, Stdio}, string}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/combine.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Result, Context, bail}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/combine.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | if(save_path.is_empty() || save_path.ends_with("/") || save_path.ends_with("\\")){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - if(save_path.is_empty() || save_path.ends_with("/") || save_path.ends_with("\\")){ [INFO] [stdout] 79 + if save_path.is_empty() || save_path.ends_with("/") || save_path.ends_with("\\") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::join` [INFO] [stdout] --> src/Manager.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::AbortHandle` [INFO] [stdout] --> src/Manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::task::AbortHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/Manager.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/http_util.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, bail, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str_util` [INFO] [stdout] --> src/http_util.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{str_util, config}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `string` [INFO] [stdout] --> src/combine.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, io::Write, process::{Command, Stdio}, string}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/combine.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Result, Context, bail}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/combine.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | if(save_path.is_empty() || save_path.ends_with("/") || save_path.ends_with("\\")){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - if(save_path.is_empty() || save_path.ends_with("/") || save_path.ends_with("\\")){ [INFO] [stdout] 79 + if save_path.is_empty() || save_path.ends_with("/") || save_path.ends_with("\\") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/http_util.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn query_bytes_async(url: &str, idx:i32) ->std::result::Result, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/http_util.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn query_bytes_async(url: &str, idx:i32) ->std::result::Result, String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/Manager.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/Manager.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/http_util.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let args:Vec = env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/http_util.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | fn get_client2(idx: i32)-> Arc{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/http_util.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let args:Vec = env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/http_util.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | fn get_client(idx: i32)-> Client{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/http_util.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | fn get_client2(idx: i32)-> Arc{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/http_util.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | fn get_client(idx: i32)-> Client{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/http_util.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_file` is never used [INFO] [stdout] --> src/http_util.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn write_file(mut reader: Response) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clip_num` is never used [INFO] [stdout] --> src/M3u8Item.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl M3u8Entity { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn clip_num(&self) -> usize{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_temp_path` is never used [INFO] [stdout] --> src/M3u8Item.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn get_temp_path()-> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `timestamp1` is never used [INFO] [stdout] --> src/M3u8Item.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn timestamp1() -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/aes_util.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn encrypt(content: &[u8], key:&[u8], iv:&[u8]) -> Vec{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Manager` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod Manager; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `M3u8Item` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod M3u8Item; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `m3u8_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/http_util.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_file` is never used [INFO] [stdout] --> src/http_util.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn write_file(mut reader: Response) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clip_num` is never used [INFO] [stdout] --> src/M3u8Item.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl M3u8Entity { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn clip_num(&self) -> usize{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_temp_path` is never used [INFO] [stdout] --> src/M3u8Item.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn get_temp_path()-> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `timestamp1` is never used [INFO] [stdout] --> src/M3u8Item.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn timestamp1() -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/aes_util.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn encrypt(content: &[u8], key:&[u8], iv:&[u8]) -> Vec{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Manager` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod Manager; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `M3u8Item` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod M3u8Item; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `m3u8_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/http_util.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | query_bytes("http://localhost:8080/hs",0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = query_bytes("http://localhost:8080/hs",0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/http_util.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | query_bytes("http://localhost:8080/hs",0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = query_bytes("http://localhost:8080/hs",0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.45s [INFO] running `Command { std: "docker" "inspect" "48a3cfe0709b8c2cbc6434583896b562b0b8761af64ff299aad6ff57b0ecbc77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a3cfe0709b8c2cbc6434583896b562b0b8761af64ff299aad6ff57b0ecbc77", kill_on_drop: false }` [INFO] [stdout] 48a3cfe0709b8c2cbc6434583896b562b0b8761af64ff299aad6ff57b0ecbc77