[INFO] cloning repository https://github.com/limitcool/bilistream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/limitcool/bilistream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flimitcool%2Fbilistream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flimitcool%2Fbilistream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ef095fd9822a52166371369fd04fd0ef4f9d397 [INFO] building limitcool/bilistream against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flimitcool%2Fbilistream" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/limitcool/bilistream [INFO] finished tweaking git repo https://github.com/limitcool/bilistream [INFO] tweaked toml for git repo https://github.com/limitcool/bilistream written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/limitcool/bilistream on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/limitcool/bilistream already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded tracing-serde v0.1.3 [INFO] [stderr] Downloaded reqwest-middleware v0.1.6 [INFO] [stderr] Downloaded prettyish-html v0.1.1 [INFO] [stderr] Downloaded matchers v0.0.1 [INFO] [stderr] Downloaded string_cache v0.8.8 [INFO] [stderr] Downloaded gotify v0.4.0 [INFO] [stderr] Downloaded tracing-log v0.1.4 [INFO] [stderr] Downloaded derive_more v0.99.19 [INFO] [stderr] Downloaded serde_yaml v0.8.26 [INFO] [stderr] Downloaded miniz_oxide v0.8.4 [INFO] [stderr] Downloaded publicsuffix v2.3.0 [INFO] [stderr] Downloaded tracing-subscriber v0.2.25 [INFO] [stderr] Downloaded m3u8-rs v4.0.0 [INFO] [stderr] Downloaded serde_json v1.0.138 [INFO] [stderr] Downloaded retry-policies v0.1.2 [INFO] [stderr] Downloaded task-local-extensions v0.1.4 [INFO] [stderr] Downloaded reqwest-retry v0.1.5 [INFO] [stderr] Downloaded ego-tree v0.6.3 [INFO] [stderr] Downloaded string_cache_codegen v0.5.3 [INFO] [stderr] Downloaded scraper v0.13.0 [INFO] [stderr] Downloaded ring v0.17.9 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c4c0950c918f206cbcd294f81415521bb73bf10acc317b7075fc49ca33499b8 [INFO] running `Command { std: "docker" "start" "-a" "1c4c0950c918f206cbcd294f81415521bb73bf10acc317b7075fc49ca33499b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c4c0950c918f206cbcd294f81415521bb73bf10acc317b7075fc49ca33499b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c4c0950c918f206cbcd294f81415521bb73bf10acc317b7075fc49ca33499b8", kill_on_drop: false }` [INFO] [stdout] 1c4c0950c918f206cbcd294f81415521bb73bf10acc317b7075fc49ca33499b8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1d9f1dbff2c88ae0d80a0fb445cad31f043c65184e9af19e6328dcebad901a7 [INFO] running `Command { std: "docker" "start" "-a" "e1d9f1dbff2c88ae0d80a0fb445cad31f043c65184e9af19e6328dcebad901a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling task-local-extensions v0.1.4 [INFO] [stderr] Compiling ring v0.17.9 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling m3u8-rs v4.0.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling prettyish-html v0.1.1 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling retry-policies v0.1.2 [INFO] [stderr] Compiling string_cache_codegen v0.5.3 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling scraper v0.13.0 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest-middleware v0.1.6 [INFO] [stderr] Compiling gotify v0.4.0 [INFO] [stderr] Compiling reqwest-retry v0.1.5 [INFO] [stderr] Compiling bilistream v0.1.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `filter::EnvFilter` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | filter::EnvFilter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/plugins/twitch.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_m3u8_url` and `replace_url` are never used [INFO] [stdout] --> src/plugins/twitch.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 93 | impl Twitch { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | async fn get_m3u8_url(&self, token: Token) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn replace_url(&self, content: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `access_token` and `client` are never read [INFO] [stdout] --> src/plugins/youtube.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Youtube { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | pub room: String, [INFO] [stdout] 10 | pub access_token: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub client: ClientWithMiddleware, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/plugins/live.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | for cap in re.captures(html.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 128 - for cap in re.captures(html.as_str()) { [INFO] [stdout] 128 + while let Some(cap) = re.captures(html.as_str()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 128 - for cap in re.captures(html.as_str()) { [INFO] [stdout] 128 + if let Some(cap) = re.captures(html.as_str()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/plugins/live.rs:213:16 [INFO] [stdout] | [INFO] [stdout] 213 | for cap in re.captures(html.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 213 - for cap in re.captures(html.as_str()) { [INFO] [stdout] 213 + while let Some(cap) = re.captures(html.as_str()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 213 - for cap in re.captures(html.as_str()) { [INFO] [stdout] 213 + if let Some(cap) = re.captures(html.as_str()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/plugins/live.rs:276:16 [INFO] [stdout] | [INFO] [stdout] 276 | for cap in re.captures(html.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 276 - for cap in re.captures(html.as_str()) { [INFO] [stdout] 276 + while let Some(cap) = re.captures(html.as_str()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 276 - for cap in re.captures(html.as_str()) { [INFO] [stdout] 276 + if let Some(cap) = re.captures(html.as_str()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "e1d9f1dbff2c88ae0d80a0fb445cad31f043c65184e9af19e6328dcebad901a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1d9f1dbff2c88ae0d80a0fb445cad31f043c65184e9af19e6328dcebad901a7", kill_on_drop: false }` [INFO] [stdout] e1d9f1dbff2c88ae0d80a0fb445cad31f043c65184e9af19e6328dcebad901a7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cb64908e79f7e2297a2074c4db701f91fa690298f1a89ba9729fabcf18adf60 [INFO] running `Command { std: "docker" "start" "-a" "7cb64908e79f7e2297a2074c4db701f91fa690298f1a89ba9729fabcf18adf60", kill_on_drop: false }` [INFO] [stderr] Compiling bilistream v0.1.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `filter::EnvFilter` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | filter::EnvFilter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/plugins/twitch.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_m3u8_url` and `replace_url` are never used [INFO] [stdout] --> src/plugins/twitch.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 93 | impl Twitch { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | async fn get_m3u8_url(&self, token: Token) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn replace_url(&self, content: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `access_token` and `client` are never read [INFO] [stdout] --> src/plugins/youtube.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Youtube { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | pub room: String, [INFO] [stdout] 10 | pub access_token: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub client: ClientWithMiddleware, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/plugins/live.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | for cap in re.captures(html.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 128 - for cap in re.captures(html.as_str()) { [INFO] [stdout] 128 + while let Some(cap) = re.captures(html.as_str()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 128 - for cap in re.captures(html.as_str()) { [INFO] [stdout] 128 + if let Some(cap) = re.captures(html.as_str()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/plugins/live.rs:213:16 [INFO] [stdout] | [INFO] [stdout] 213 | for cap in re.captures(html.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 213 - for cap in re.captures(html.as_str()) { [INFO] [stdout] 213 + while let Some(cap) = re.captures(html.as_str()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 213 - for cap in re.captures(html.as_str()) { [INFO] [stdout] 213 + if let Some(cap) = re.captures(html.as_str()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/plugins/live.rs:276:16 [INFO] [stdout] | [INFO] [stdout] 276 | for cap in re.captures(html.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 276 - for cap in re.captures(html.as_str()) { [INFO] [stdout] 276 + while let Some(cap) = re.captures(html.as_str()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 276 - for cap in re.captures(html.as_str()) { [INFO] [stdout] 276 + if let Some(cap) = re.captures(html.as_str()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.56s [INFO] running `Command { std: "docker" "inspect" "7cb64908e79f7e2297a2074c4db701f91fa690298f1a89ba9729fabcf18adf60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb64908e79f7e2297a2074c4db701f91fa690298f1a89ba9729fabcf18adf60", kill_on_drop: false }` [INFO] [stdout] 7cb64908e79f7e2297a2074c4db701f91fa690298f1a89ba9729fabcf18adf60