[INFO] cloning repository https://github.com/tarkah/lazystream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tarkah/lazystream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftarkah%2Flazystream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftarkah%2Flazystream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e39ffef88c4dfd848485e9c53d9759535600a0f [INFO] testing tarkah/lazystream against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftarkah%2Flazystream" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tarkah/lazystream [INFO] finished tweaking git repo https://github.com/tarkah/lazystream [INFO] tweaked toml for git repo https://github.com/tarkah/lazystream written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tarkah/lazystream on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tarkah/lazystream 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d29fbfcb57caf943e05e3fb24aabdb25d6f3771c09fc4310311c70d18e80c4cb [INFO] running `Command { std: "docker" "start" "-a" "d29fbfcb57caf943e05e3fb24aabdb25d6f3771c09fc4310311c70d18e80c4cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d29fbfcb57caf943e05e3fb24aabdb25d6f3771c09fc4310311c70d18e80c4cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d29fbfcb57caf943e05e3fb24aabdb25d6f3771c09fc4310311c70d18e80c4cb", kill_on_drop: false }` [INFO] [stdout] d29fbfcb57caf943e05e3fb24aabdb25d6f3771c09fc4310311c70d18e80c4cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 368d7eb13a551cba7362c3ba0c86704e433d589b832be8a643eb98b7c4c7b35b [INFO] running `Command { std: "docker" "start" "-a" "368d7eb13a551cba7362c3ba0c86704e433d589b832be8a643eb98b7c4c7b35b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling openssl-src v111.13.0+1.1.1i [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling spinning_top v0.2.2 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling libnghttp2-sys v0.1.5+1.42.0 [INFO] [stderr] Compiling curl-sys v0.4.39+curl-7.74.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling isahc v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling sluice v0.5.3 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling async-process v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-lock v2.3.0 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling read_input v0.8.4 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling mdns v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling pin-project v1.0.4 [INFO] [stderr] Compiling flume v0.10.1 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling futures-executor v0.3.12 [INFO] [stderr] Compiling futures v0.3.12 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling stats-api v0.1.0 (https://github.com/tarkah/stats-api?rev=6c2318cd44d737435b9973797e173fc9b9cfb541#6c2318cd) [INFO] [stderr] Compiling lazystream v1.12.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `client::Client` [INFO] [stdout] --> src/api.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/select.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | let feed_choice = &feeds[(feed_choice - 1)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 - let feed_choice = &feeds[(feed_choice - 1)]; [INFO] [stdout] 81 + let feed_choice = &feeds[feed_choice - 1]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/streamlink.rs:684:30 [INFO] [stdout] | [INFO] [stdout] 684 | let addrs = device_addrs[(device_choice - 1)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 684 - let addrs = device_addrs[(device_choice - 1)]; [INFO] [stdout] 684 + let addrs = device_addrs[device_choice - 1]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `link`, `location_name`, `first_year_of_play`, `short_name`, and `active` are never read [INFO] [stdout] --> src/api/model.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Team { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub location_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub first_year_of_play: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub short_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | #[serde(default)] [INFO] [stdout] 19 | pub active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Team` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScheduleResponse` is never constructed [INFO] [stdout] --> src/api/model.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ScheduleResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `link`, `game_type`, and `season` are never read [INFO] [stdout] --> src/api/model.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ScheduleGame { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub game_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | #[serde(default)] [INFO] [stdout] 47 | pub season: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScheduleGame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `score` is never read [INFO] [stdout] --> src/api/model.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct ScheduleGameTeam { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 61 | pub score: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScheduleGameTeam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `link` are never read [INFO] [stdout] --> src/api/model.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ScheduleGameTeamDetail { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | #[serde(default)] [INFO] [stdout] 72 | pub link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScheduleGameTeamDetail` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `call_letters` and `media_state` are never read [INFO] [stdout] --> src/api/model.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct GameContentEpgItem { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 101 | pub media_feed_type: Option, [INFO] [stdout] 102 | pub call_letters: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 103 | pub media_state: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameContentEpgItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/api/model.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct GameContentEditorialItem { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 118 | #[serde(default)] [INFO] [stdout] 119 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameContentEditorialItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type`, `headline`, `seo_title`, and `seo_description` are never read [INFO] [stdout] --> src/api/model.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct GameContentEditorialItemArticle { [INFO] [stdout] | ------------------------------- fields in this struct [INFO] [stdout] 126 | #[serde(default)] [INFO] [stdout] 127 | pub r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 128 | #[serde(default)] [INFO] [stdout] 129 | pub headline: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub seo_title: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 134 | #[serde(default)] [INFO] [stdout] 135 | pub seo_description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameContentEditorialItemArticle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type` is never read [INFO] [stdout] --> src/api/model.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct GameContentArticleMedia { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 143 | #[serde(default)] [INFO] [stdout] 144 | pub r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameContentArticleMedia` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/model.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct GameContentArticleMediaImageCut { [INFO] [stdout] | ------------------------------- fields in this struct [INFO] [stdout] 157 | pub cut_2208_1242: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 158 | pub cut_2048_1152: GameContentArticleMediaImageCutDetail, [INFO] [stdout] 159 | pub cut_1704_960: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 160 | pub cut_1536_864: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 161 | pub cut_1284_722: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 162 | pub cut_1136_640: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 163 | pub cut_1024_576: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 164 | pub cut_960_540: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 165 | pub cut_768_432: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 166 | pub cut_640_360: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 167 | pub cut_568_320: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 168 | pub cut_372_210: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 169 | pub cut_320_180: GameContentArticleMediaImageCutDetail, [INFO] [stdout] 170 | pub cut_248_140: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 171 | pub cut_124_70: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameContentArticleMediaImageCut` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/api/model.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct GameContentArticleMediaImageCutDetail { [INFO] [stdout] | ------------------------------------- field in this struct [INFO] [stdout] 177 | #[serde(default)] [INFO] [stdout] 178 | pub aspect_ratio: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameContentArticleMediaImageCutDetail` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `game_date` is never read [INFO] [stdout] --> src/stream.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct Stream { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 357 | game_date: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stream` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/stream.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | drop(game); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 114 - drop(game); [INFO] [stdout] 114 + let _ = game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/stream.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | drop(game); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Game` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 128 - drop(game); [INFO] [stdout] 128 + let _ = game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/stream.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | drop(stream); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut stream::Stream` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 316 - drop(stream); [INFO] [stdout] 316 + let _ = stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/stream.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | drop(stream); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut stream::Stream` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 342 - drop(stream); [INFO] [stdout] 342 + let _ = stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "368d7eb13a551cba7362c3ba0c86704e433d589b832be8a643eb98b7c4c7b35b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "368d7eb13a551cba7362c3ba0c86704e433d589b832be8a643eb98b7c4c7b35b", kill_on_drop: false }` [INFO] [stdout] 368d7eb13a551cba7362c3ba0c86704e433d589b832be8a643eb98b7c4c7b35b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2402e3e95b65ad96b41d9eedb58064ef0159d2889ffa0e2b317b0b41181c490 [INFO] running `Command { std: "docker" "start" "-a" "a2402e3e95b65ad96b41d9eedb58064ef0159d2889ffa0e2b317b0b41181c490", kill_on_drop: false }` [INFO] [stderr] Compiling lazystream v1.12.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `client::Client` [INFO] [stdout] --> src/api.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/select.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | let feed_choice = &feeds[(feed_choice - 1)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 - let feed_choice = &feeds[(feed_choice - 1)]; [INFO] [stdout] 81 + let feed_choice = &feeds[feed_choice - 1]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/streamlink.rs:684:30 [INFO] [stdout] | [INFO] [stdout] 684 | let addrs = device_addrs[(device_choice - 1)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 684 - let addrs = device_addrs[(device_choice - 1)]; [INFO] [stdout] 684 + let addrs = device_addrs[device_choice - 1]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `link`, `location_name`, `first_year_of_play`, `short_name`, and `active` are never read [INFO] [stdout] --> src/api/model.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Team { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub location_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub first_year_of_play: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub short_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | #[serde(default)] [INFO] [stdout] 19 | pub active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Team` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScheduleResponse` is never constructed [INFO] [stdout] --> src/api/model.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ScheduleResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `link`, `game_type`, and `season` are never read [INFO] [stdout] --> src/api/model.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ScheduleGame { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub game_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | #[serde(default)] [INFO] [stdout] 47 | pub season: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScheduleGame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `score` is never read [INFO] [stdout] --> src/api/model.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct ScheduleGameTeam { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 61 | pub score: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScheduleGameTeam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `link` are never read [INFO] [stdout] --> src/api/model.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ScheduleGameTeamDetail { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | #[serde(default)] [INFO] [stdout] 72 | pub link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScheduleGameTeamDetail` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `call_letters` and `media_state` are never read [INFO] [stdout] --> src/api/model.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct GameContentEpgItem { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 101 | pub media_feed_type: Option, [INFO] [stdout] 102 | pub call_letters: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 103 | pub media_state: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameContentEpgItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/api/model.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct GameContentEditorialItem { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 118 | #[serde(default)] [INFO] [stdout] 119 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameContentEditorialItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type`, `headline`, `seo_title`, and `seo_description` are never read [INFO] [stdout] --> src/api/model.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct GameContentEditorialItemArticle { [INFO] [stdout] | ------------------------------- fields in this struct [INFO] [stdout] 126 | #[serde(default)] [INFO] [stdout] 127 | pub r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 128 | #[serde(default)] [INFO] [stdout] 129 | pub headline: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub seo_title: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 134 | #[serde(default)] [INFO] [stdout] 135 | pub seo_description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameContentEditorialItemArticle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type` is never read [INFO] [stdout] --> src/api/model.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct GameContentArticleMedia { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 143 | #[serde(default)] [INFO] [stdout] 144 | pub r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameContentArticleMedia` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/model.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct GameContentArticleMediaImageCut { [INFO] [stdout] | ------------------------------- fields in this struct [INFO] [stdout] 157 | pub cut_2208_1242: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 158 | pub cut_2048_1152: GameContentArticleMediaImageCutDetail, [INFO] [stdout] 159 | pub cut_1704_960: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 160 | pub cut_1536_864: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 161 | pub cut_1284_722: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 162 | pub cut_1136_640: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 163 | pub cut_1024_576: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 164 | pub cut_960_540: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 165 | pub cut_768_432: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 166 | pub cut_640_360: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 167 | pub cut_568_320: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 168 | pub cut_372_210: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 169 | pub cut_320_180: GameContentArticleMediaImageCutDetail, [INFO] [stdout] 170 | pub cut_248_140: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 171 | pub cut_124_70: GameContentArticleMediaImageCutDetail, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameContentArticleMediaImageCut` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/api/model.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct GameContentArticleMediaImageCutDetail { [INFO] [stdout] | ------------------------------------- field in this struct [INFO] [stdout] 177 | #[serde(default)] [INFO] [stdout] 178 | pub aspect_ratio: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameContentArticleMediaImageCutDetail` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `game_date` is never read [INFO] [stdout] --> src/stream.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct Stream { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 357 | game_date: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stream` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/stream.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | drop(game); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 114 - drop(game); [INFO] [stdout] 114 + let _ = game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/stream.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | drop(game); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Game` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 128 - drop(game); [INFO] [stdout] 128 + let _ = game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/stream.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | drop(stream); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut stream::Stream` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 316 - drop(stream); [INFO] [stdout] 316 + let _ = stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/stream.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | drop(stream); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut stream::Stream` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 342 - drop(stream); [INFO] [stdout] 342 + let _ = stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.20s [INFO] running `Command { std: "docker" "inspect" "a2402e3e95b65ad96b41d9eedb58064ef0159d2889ffa0e2b317b0b41181c490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2402e3e95b65ad96b41d9eedb58064ef0159d2889ffa0e2b317b0b41181c490", kill_on_drop: false }` [INFO] [stdout] a2402e3e95b65ad96b41d9eedb58064ef0159d2889ffa0e2b317b0b41181c490 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 582f98f1ae4c23eaab3b9a7ed638f768b194086b5c7bf0b7267874a47ace2b53 [INFO] running `Command { std: "docker" "start" "-a" "582f98f1ae4c23eaab3b9a7ed638f768b194086b5c7bf0b7267874a47ace2b53", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `client::Client` [INFO] [stderr] --> src/api.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use client::Client; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/select.rs:81:30 [INFO] [stderr] | [INFO] [stderr] 81 | let feed_choice = &feeds[(feed_choice - 1)]; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 81 - let feed_choice = &feeds[(feed_choice - 1)]; [INFO] [stderr] 81 + let feed_choice = &feeds[feed_choice - 1]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/streamlink.rs:684:30 [INFO] [stderr] | [INFO] [stderr] 684 | let addrs = device_addrs[(device_choice - 1)]; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 684 - let addrs = device_addrs[(device_choice - 1)]; [INFO] [stderr] 684 + let addrs = device_addrs[device_choice - 1]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `link`, `location_name`, `first_year_of_play`, `short_name`, and `active` are never read [INFO] [stderr] --> src/api/model.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Team { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | pub link: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | pub location_name: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 16 | pub first_year_of_play: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 17 | pub short_name: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 18 | #[serde(default)] [INFO] [stderr] 19 | pub active: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Team` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ScheduleResponse` is never constructed [INFO] [stderr] --> src/api/model.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct ScheduleResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `link`, `game_type`, and `season` are never read [INFO] [stderr] --> src/api/model.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct ScheduleGame { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 42 | pub link: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub game_type: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 46 | #[serde(default)] [INFO] [stderr] 47 | pub season: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ScheduleGame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `score` is never read [INFO] [stderr] --> src/api/model.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct ScheduleGameTeam { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 61 | pub score: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ScheduleGameTeam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `link` are never read [INFO] [stderr] --> src/api/model.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 67 | pub struct ScheduleGameTeamDetail { [INFO] [stderr] | ---------------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 70 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 71 | #[serde(default)] [INFO] [stderr] 72 | pub link: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ScheduleGameTeamDetail` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `call_letters` and `media_state` are never read [INFO] [stderr] --> src/api/model.rs:102:9 [INFO] [stderr] | [INFO] [stderr] 100 | pub struct GameContentEpgItem { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 101 | pub media_feed_type: Option, [INFO] [stderr] 102 | pub call_letters: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 103 | pub media_state: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GameContentEpgItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `title` is never read [INFO] [stderr] --> src/api/model.rs:119:9 [INFO] [stderr] | [INFO] [stderr] 117 | pub struct GameContentEditorialItem { [INFO] [stderr] | ------------------------ field in this struct [INFO] [stderr] 118 | #[serde(default)] [INFO] [stderr] 119 | pub title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GameContentEditorialItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `type`, `headline`, `seo_title`, and `seo_description` are never read [INFO] [stderr] --> src/api/model.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 125 | pub struct GameContentEditorialItemArticle { [INFO] [stderr] | ------------------------------- fields in this struct [INFO] [stderr] 126 | #[serde(default)] [INFO] [stderr] 127 | pub r#type: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 128 | #[serde(default)] [INFO] [stderr] 129 | pub headline: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | pub seo_title: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 134 | #[serde(default)] [INFO] [stderr] 135 | pub seo_description: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GameContentEditorialItemArticle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `type` is never read [INFO] [stderr] --> src/api/model.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 142 | pub struct GameContentArticleMedia { [INFO] [stderr] | ----------------------- field in this struct [INFO] [stderr] 143 | #[serde(default)] [INFO] [stderr] 144 | pub r#type: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GameContentArticleMedia` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/api/model.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 156 | pub struct GameContentArticleMediaImageCut { [INFO] [stderr] | ------------------------------- fields in this struct [INFO] [stderr] 157 | pub cut_2208_1242: GameContentArticleMediaImageCutDetail, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 158 | pub cut_2048_1152: GameContentArticleMediaImageCutDetail, [INFO] [stderr] 159 | pub cut_1704_960: GameContentArticleMediaImageCutDetail, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 160 | pub cut_1536_864: GameContentArticleMediaImageCutDetail, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 161 | pub cut_1284_722: GameContentArticleMediaImageCutDetail, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 162 | pub cut_1136_640: GameContentArticleMediaImageCutDetail, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 163 | pub cut_1024_576: GameContentArticleMediaImageCutDetail, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 164 | pub cut_960_540: GameContentArticleMediaImageCutDetail, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 165 | pub cut_768_432: GameContentArticleMediaImageCutDetail, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 166 | pub cut_640_360: GameContentArticleMediaImageCutDetail, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 167 | pub cut_568_320: GameContentArticleMediaImageCutDetail, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 168 | pub cut_372_210: GameContentArticleMediaImageCutDetail, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 169 | pub cut_320_180: GameContentArticleMediaImageCutDetail, [INFO] [stderr] 170 | pub cut_248_140: GameContentArticleMediaImageCutDetail, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 171 | pub cut_124_70: GameContentArticleMediaImageCutDetail, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GameContentArticleMediaImageCut` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `aspect_ratio` is never read [INFO] [stderr] --> src/api/model.rs:178:9 [INFO] [stderr] | [INFO] [stderr] 176 | pub struct GameContentArticleMediaImageCutDetail { [INFO] [stderr] | ------------------------------------- field in this struct [INFO] [stderr] 177 | #[serde(default)] [INFO] [stderr] 178 | pub aspect_ratio: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GameContentArticleMediaImageCutDetail` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `game_date` is never read [INFO] [stderr] --> src/stream.rs:357:5 [INFO] [stderr] | [INFO] [stderr] 352 | pub struct Stream { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 357 | game_date: DateTime, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Stream` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/stream.rs:114:17 [INFO] [stderr] | [INFO] [stderr] 114 | drop(game); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut Game` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 114 - drop(game); [INFO] [stderr] 114 + let _ = game; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/stream.rs:128:17 [INFO] [stderr] | [INFO] [stderr] 128 | drop(game); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut Game` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 128 - drop(game); [INFO] [stderr] 128 + let _ = game; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/stream.rs:316:17 [INFO] [stderr] | [INFO] [stderr] 316 | drop(stream); [INFO] [stderr] | ^^^^^------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut stream::Stream` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 316 - drop(stream); [INFO] [stderr] 316 + let _ = stream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/stream.rs:342:17 [INFO] [stderr] | [INFO] [stderr] 342 | drop(stream); [INFO] [stderr] | ^^^^^------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut stream::Stream` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 342 - drop(stream); [INFO] [stderr] 342 + let _ = stream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `lazystream` (bin "lazystream" test) generated 19 warnings (run `cargo fix --bin "lazystream" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lazystream-66ee9b5059611e34) [INFO] running `Command { std: "docker" "inspect" "582f98f1ae4c23eaab3b9a7ed638f768b194086b5c7bf0b7267874a47ace2b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "582f98f1ae4c23eaab3b9a7ed638f768b194086b5c7bf0b7267874a47ace2b53", kill_on_drop: false }` [INFO] [stdout] 582f98f1ae4c23eaab3b9a7ed638f768b194086b5c7bf0b7267874a47ace2b53