[INFO] cloning repository https://github.com/FlorisVleugels/soundcloud-tui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FlorisVleugels/soundcloud-tui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlorisVleugels%2Fsoundcloud-tui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlorisVleugels%2Fsoundcloud-tui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd391e080fd1fee730b78510f8ef46662561a1dd [INFO] testing FlorisVleugels/soundcloud-tui against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlorisVleugels%2Fsoundcloud-tui" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FlorisVleugels/soundcloud-tui [INFO] finished tweaking git repo https://github.com/FlorisVleugels/soundcloud-tui [INFO] tweaked toml for git repo https://github.com/FlorisVleugels/soundcloud-tui written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FlorisVleugels/soundcloud-tui 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/FlorisVleugels/soundcloud-tui already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded instability v0.3.9 [INFO] [stderr] Downloaded castaway v0.2.4 [INFO] [stderr] Downloaded coreaudio-rs v0.13.0 [INFO] [stderr] Downloaded objc2-audio-toolbox v0.3.1 [INFO] [stderr] Downloaded alsa v0.9.2 [INFO] [stderr] Downloaded cpal v0.16.0 [INFO] [stderr] Downloaded rodio v0.21.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 86115137c3b088d21c68c7a2ee0d40d0ec4235a844a415a28a1bb91f3914c552 [INFO] running `Command { std: "docker" "start" "-a" "86115137c3b088d21c68c7a2ee0d40d0ec4235a844a415a28a1bb91f3914c552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86115137c3b088d21c68c7a2ee0d40d0ec4235a844a415a28a1bb91f3914c552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86115137c3b088d21c68c7a2ee0d40d0ec4235a844a415a28a1bb91f3914c552", kill_on_drop: false }` [INFO] [stdout] 86115137c3b088d21c68c7a2ee0d40d0ec4235a844a415a28a1bb91f3914c552 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 8702408e2030e7e001a6e30f84733a6798a7a04da35f094d1f9716797985e81e [INFO] running `Command { std: "docker" "start" "-a" "8702408e2030e7e001a6e30f84733a6798a7a04da35f094d1f9716797985e81e", kill_on_drop: false }` [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling cpal v0.16.0 [INFO] [stderr] Compiling extended v0.1.0 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling is-docker v0.2.0 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling alsa v0.9.2 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling is-wsl v0.4.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling open v5.3.2 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling symphonia-codec-aac v0.5.4 [INFO] [stderr] Compiling symphonia-codec-adpcm v0.5.4 [INFO] [stderr] Compiling symphonia-codec-pcm v0.5.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling symphonia-utils-xiph v0.5.4 [INFO] [stderr] Compiling symphonia-format-riff v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-flac v0.5.4 [INFO] [stderr] Compiling symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Compiling symphonia-format-mkv v0.5.4 [INFO] [stderr] Compiling symphonia-format-isomp4 v0.5.4 [INFO] [stderr] Compiling symphonia-format-ogg v0.5.4 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling rodio v0.21.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling soundcloud-tui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> src/ui/mod.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | text::{Line, Span, Text}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/playback.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/playback.rs:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> src/ui/mod.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | style::{Color, Style, Stylize}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `volume` is never read [INFO] [stdout] --> src/app.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub volume: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `increase` is never used [INFO] [stdout] --> src/app.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | fn increase(i: &mut usize, length: &usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `position` are never read [INFO] [stdout] --> src/playback.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Playback { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | pub streams: Streams, [INFO] [stdout] 18 | pub status: Status, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub position: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Playing`, `Paused`, and `Unavailable` are never constructed [INFO] [stdout] --> src/playback.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 24 | Playing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Available, [INFO] [stdout] 27 | Unavailable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `toggle`, `increase`, and `decrease` are never used [INFO] [stdout] --> src/playback.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Playback { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn toggle(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn increase() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn decrease() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `waveform` is never used [INFO] [stdout] --> src/soundcloud/api.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | pub async fn waveform( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/soundcloud/client.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 23 | config: ClientConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `access_token` and `refresh` are never used [INFO] [stdout] --> src/soundcloud/client.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Client { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn access_token(&self) -> &AccessToken { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | async fn refresh(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppConfig` is never constructed [INFO] [stdout] --> src/soundcloud/config.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AppConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_client_config` is never used [INFO] [stdout] --> src/soundcloud/config.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl ClientConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | fn create_client_config() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expires_in`, `scope`, and `token_type` are never read [INFO] [stdout] --> src/soundcloud/models.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct OauthTokens { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub access_token: String, [INFO] [stdout] 6 | expires_in: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | scope: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub refresh_token: String, [INFO] [stdout] 9 | token_type: String [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OauthTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_href` is never read [INFO] [stdout] --> src/soundcloud/models.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Playlists { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 20 | pub collection: Vec, [INFO] [stdout] 21 | pub next_href: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Playlists` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metadata_artist`, `waveform_url`, and `waveform` are never read [INFO] [stdout] --> src/soundcloud/models.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Track { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub metadata_artist: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub waveform_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | pub waveform: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Track` 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 `next_href` is never read [INFO] [stdout] --> src/soundcloud/models.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Tracks { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 39 | pub collection: Vec, [INFO] [stdout] 40 | pub next_href: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tracks` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hls_mp3_128_url`, `hls_opus_64_url`, and `preview_mp3_128_url` are never read [INFO] [stdout] --> src/soundcloud/models.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Streams { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 50 | pub http_mp3_128_url: String, [INFO] [stdout] 51 | pub hls_mp3_128_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub hls_opus_64_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub preview_mp3_128_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Streams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `docs` is never used [INFO] [stdout] --> src/ui/help.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn docs() -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/events/mod.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | ... app.playback.as_mut().unwrap().stream().await; [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = app.playback.as_mut().unwrap().stream().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/mod.rs:270:27 [INFO] [stdout] | [INFO] [stdout] 270 | fn _waveform_chart(track: &Track) -> BarChart { [INFO] [stdout] | ^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 270 | fn _waveform_chart(track: &Track) -> BarChart<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.13s [INFO] running `Command { std: "docker" "inspect" "8702408e2030e7e001a6e30f84733a6798a7a04da35f094d1f9716797985e81e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8702408e2030e7e001a6e30f84733a6798a7a04da35f094d1f9716797985e81e", kill_on_drop: false }` [INFO] [stdout] 8702408e2030e7e001a6e30f84733a6798a7a04da35f094d1f9716797985e81e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 32d0afe700d4f4d0d0f1e448aeaec11e282fc33c8ae0698fda0c5bb8d4711ea0 [INFO] running `Command { std: "docker" "start" "-a" "32d0afe700d4f4d0d0f1e448aeaec11e282fc33c8ae0698fda0c5bb8d4711ea0", kill_on_drop: false }` [INFO] [stderr] Compiling soundcloud-tui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> src/ui/mod.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | text::{Line, Span, Text}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/playback.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/playback.rs:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> src/ui/mod.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | style::{Color, Style, Stylize}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `volume` is never read [INFO] [stdout] --> src/app.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub volume: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `increase` is never used [INFO] [stdout] --> src/app.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | fn increase(i: &mut usize, length: &usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `position` are never read [INFO] [stdout] --> src/playback.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Playback { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | pub streams: Streams, [INFO] [stdout] 18 | pub status: Status, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub position: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Playing`, `Paused`, and `Unavailable` are never constructed [INFO] [stdout] --> src/playback.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 24 | Playing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Available, [INFO] [stdout] 27 | Unavailable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `toggle`, `increase`, and `decrease` are never used [INFO] [stdout] --> src/playback.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Playback { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn toggle(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn increase() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn decrease() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `waveform` is never used [INFO] [stdout] --> src/soundcloud/api.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | pub async fn waveform( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/soundcloud/client.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 23 | config: ClientConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `access_token` and `refresh` are never used [INFO] [stdout] --> src/soundcloud/client.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Client { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn access_token(&self) -> &AccessToken { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | async fn refresh(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppConfig` is never constructed [INFO] [stdout] --> src/soundcloud/config.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AppConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_client_config` is never used [INFO] [stdout] --> src/soundcloud/config.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl ClientConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | fn create_client_config() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expires_in`, `scope`, and `token_type` are never read [INFO] [stdout] --> src/soundcloud/models.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct OauthTokens { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub access_token: String, [INFO] [stdout] 6 | expires_in: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | scope: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub refresh_token: String, [INFO] [stdout] 9 | token_type: String [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OauthTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_href` is never read [INFO] [stdout] --> src/soundcloud/models.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Playlists { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 20 | pub collection: Vec, [INFO] [stdout] 21 | pub next_href: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Playlists` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metadata_artist`, `waveform_url`, and `waveform` are never read [INFO] [stdout] --> src/soundcloud/models.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Track { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub metadata_artist: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub waveform_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | pub waveform: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Track` 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 `next_href` is never read [INFO] [stdout] --> src/soundcloud/models.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Tracks { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 39 | pub collection: Vec, [INFO] [stdout] 40 | pub next_href: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tracks` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hls_mp3_128_url`, `hls_opus_64_url`, and `preview_mp3_128_url` are never read [INFO] [stdout] --> src/soundcloud/models.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Streams { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 50 | pub http_mp3_128_url: String, [INFO] [stdout] 51 | pub hls_mp3_128_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub hls_opus_64_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub preview_mp3_128_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Streams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `docs` is never used [INFO] [stdout] --> src/ui/help.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn docs() -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/events/mod.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | ... app.playback.as_mut().unwrap().stream().await; [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = app.playback.as_mut().unwrap().stream().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/mod.rs:270:27 [INFO] [stdout] | [INFO] [stdout] 270 | fn _waveform_chart(track: &Track) -> BarChart { [INFO] [stdout] | ^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 270 | fn _waveform_chart(track: &Track) -> BarChart<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> src/ui/mod.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | text::{Line, Span, Text}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/playback.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/playback.rs:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> src/ui/mod.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | style::{Color, Style, Stylize}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `volume` is never read [INFO] [stdout] --> src/app.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub volume: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `increase` is never used [INFO] [stdout] --> src/app.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | fn increase(i: &mut usize, length: &usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `position` are never read [INFO] [stdout] --> src/playback.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Playback { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | pub streams: Streams, [INFO] [stdout] 18 | pub status: Status, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub position: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Playing`, `Paused`, and `Unavailable` are never constructed [INFO] [stdout] --> src/playback.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 24 | Playing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Available, [INFO] [stdout] 27 | Unavailable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `toggle`, `increase`, and `decrease` are never used [INFO] [stdout] --> src/playback.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Playback { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn toggle(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn increase() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn decrease() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `waveform` is never used [INFO] [stdout] --> src/soundcloud/api.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | pub async fn waveform( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/soundcloud/client.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 23 | config: ClientConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `access_token` and `refresh` are never used [INFO] [stdout] --> src/soundcloud/client.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Client { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn access_token(&self) -> &AccessToken { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | async fn refresh(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppConfig` is never constructed [INFO] [stdout] --> src/soundcloud/config.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AppConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_client_config` is never used [INFO] [stdout] --> src/soundcloud/config.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl ClientConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | fn create_client_config() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expires_in`, `scope`, and `token_type` are never read [INFO] [stdout] --> src/soundcloud/models.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct OauthTokens { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub access_token: String, [INFO] [stdout] 6 | expires_in: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | scope: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub refresh_token: String, [INFO] [stdout] 9 | token_type: String [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OauthTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_href` is never read [INFO] [stdout] --> src/soundcloud/models.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Playlists { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 20 | pub collection: Vec, [INFO] [stdout] 21 | pub next_href: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Playlists` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metadata_artist`, `waveform_url`, and `waveform` are never read [INFO] [stdout] --> src/soundcloud/models.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Track { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub metadata_artist: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub waveform_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | pub waveform: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Track` 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 `next_href` is never read [INFO] [stdout] --> src/soundcloud/models.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Tracks { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 39 | pub collection: Vec, [INFO] [stdout] 40 | pub next_href: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tracks` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hls_mp3_128_url`, `hls_opus_64_url`, and `preview_mp3_128_url` are never read [INFO] [stdout] --> src/soundcloud/models.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Streams { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 50 | pub http_mp3_128_url: String, [INFO] [stdout] 51 | pub hls_mp3_128_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub hls_opus_64_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub preview_mp3_128_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Streams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `docs` is never used [INFO] [stdout] --> src/ui/help.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn docs() -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/events/mod.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | ... app.playback.as_mut().unwrap().stream().await; [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = app.playback.as_mut().unwrap().stream().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/mod.rs:270:27 [INFO] [stdout] | [INFO] [stdout] 270 | fn _waveform_chart(track: &Track) -> BarChart { [INFO] [stdout] | ^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 270 | fn _waveform_chart(track: &Track) -> BarChart<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.46s [INFO] running `Command { std: "docker" "inspect" "32d0afe700d4f4d0d0f1e448aeaec11e282fc33c8ae0698fda0c5bb8d4711ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32d0afe700d4f4d0d0f1e448aeaec11e282fc33c8ae0698fda0c5bb8d4711ea0", kill_on_drop: false }` [INFO] [stdout] 32d0afe700d4f4d0d0f1e448aeaec11e282fc33c8ae0698fda0c5bb8d4711ea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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", kill_on_drop: false }` [INFO] [stdout] 73ddda6168c4935208fe102ea43985956a51aee964b047f73130ab08df87760c [INFO] running `Command { std: "docker" "start" "-a" "73ddda6168c4935208fe102ea43985956a51aee964b047f73130ab08df87760c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Span` [INFO] [stderr] --> src/ui/mod.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | text::{Line, Span, Text}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/playback.rs:113:33 [INFO] [stderr] | [INFO] [stderr] 113 | ... Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/playback.rs:143:33 [INFO] [stderr] | [INFO] [stderr] 143 | ... Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stylize` [INFO] [stderr] --> src/ui/mod.rs:5:27 [INFO] [stderr] | [INFO] [stderr] 5 | style::{Color, Style, Stylize}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `volume` is never read [INFO] [stderr] --> src/app.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct App { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 13 | pub volume: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `increase` is never used [INFO] [stderr] --> src/app.rs:115:8 [INFO] [stderr] | [INFO] [stderr] 41 | impl App { [INFO] [stderr] | -------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 115 | fn increase(i: &mut usize, length: &usize) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `status` and `position` are never read [INFO] [stderr] --> src/playback.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct Playback { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 17 | pub streams: Streams, [INFO] [stderr] 18 | pub status: Status, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 19 | pub position: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Playing`, `Paused`, and `Unavailable` are never constructed [INFO] [stderr] --> src/playback.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 23 | pub enum Status { [INFO] [stderr] | ------ variants in this enum [INFO] [stderr] 24 | Playing, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 25 | Paused, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 26 | Available, [INFO] [stderr] 27 | Unavailable, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `toggle`, `increase`, and `decrease` are never used [INFO] [stderr] --> src/playback.rs:157:12 [INFO] [stderr] | [INFO] [stderr] 62 | impl Playback { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 157 | pub fn toggle(&self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 162 | pub fn increase() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 166 | pub fn decrease() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `waveform` is never used [INFO] [stderr] --> src/soundcloud/api.rs:142:14 [INFO] [stderr] | [INFO] [stderr] 142 | pub async fn waveform( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/soundcloud/client.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct Client { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 23 | config: ClientConfig, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `access_token` and `refresh` are never used [INFO] [stderr] --> src/soundcloud/client.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 29 | impl Client { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 69 | fn access_token(&self) -> &AccessToken { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | async fn refresh(&mut self) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AppConfig` is never constructed [INFO] [stderr] --> src/soundcloud/config.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct AppConfig { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `create_client_config` is never used [INFO] [stderr] --> src/soundcloud/config.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 22 | impl ClientConfig { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 44 | fn create_client_config() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `expires_in`, `scope`, and `token_type` are never read [INFO] [stderr] --> src/soundcloud/models.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct OauthTokens { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 5 | pub access_token: String, [INFO] [stderr] 6 | expires_in: u16, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 7 | scope: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 8 | pub refresh_token: String, [INFO] [stderr] 9 | token_type: String [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OauthTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `next_href` is never read [INFO] [stderr] --> src/soundcloud/models.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Playlists { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 20 | pub collection: Vec, [INFO] [stderr] 21 | pub next_href: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Playlists` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `metadata_artist`, `waveform_url`, and `waveform` are never read [INFO] [stderr] --> src/soundcloud/models.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct Track { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 30 | pub metadata_artist: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub waveform_url: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 34 | pub waveform: Option>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Track` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `next_href` is never read [INFO] [stderr] --> src/soundcloud/models.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct Tracks { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 39 | pub collection: Vec, [INFO] [stderr] 40 | pub next_href: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Tracks` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `hls_mp3_128_url`, `hls_opus_64_url`, and `preview_mp3_128_url` are never read [INFO] [stderr] --> src/soundcloud/models.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct Streams { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 50 | pub http_mp3_128_url: String, [INFO] [stderr] 51 | pub hls_mp3_128_url: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 52 | pub hls_opus_64_url: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 53 | pub preview_mp3_128_url: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Streams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `docs` is never used [INFO] [stderr] --> src/ui/help.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn docs() -> Vec> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/events/mod.rs:40:33 [INFO] [stderr] | [INFO] [stderr] 40 | ... app.playback.as_mut().unwrap().stream().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 40 | let _ = app.playback.as_mut().unwrap().stream().await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui/mod.rs:270:27 [INFO] [stderr] | [INFO] [stderr] 270 | fn _waveform_chart(track: &Track) -> BarChart { [INFO] [stderr] | ^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 270 | fn _waveform_chart(track: &Track) -> BarChart<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `soundcloud-tui` (lib) generated 22 warnings (run `cargo fix --lib -p soundcloud-tui` to apply 2 suggestions) [INFO] [stderr] warning: `soundcloud-tui` (lib test) generated 22 warnings (22 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/soundcloud_tui-f5a0aadf00231cda) [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/soundcloud_tui-3591f3940c6355dd) [INFO] [stderr] Doc-tests soundcloud_tui [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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "73ddda6168c4935208fe102ea43985956a51aee964b047f73130ab08df87760c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73ddda6168c4935208fe102ea43985956a51aee964b047f73130ab08df87760c", kill_on_drop: false }` [INFO] [stdout] 73ddda6168c4935208fe102ea43985956a51aee964b047f73130ab08df87760c