[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] 00e9b047217ce427bc1dc23fa6204d4bf09365e0 [INFO] building FlorisVleugels/soundcloud-tui against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlorisVleugels%2Fsoundcloud-tui" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FlorisVleugels/soundcloud-tui on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded symphonia-format-mkv v0.5.4 [INFO] [stderr] Downloaded symphonia-format-ogg v0.5.4 [INFO] [stderr] Downloaded symphonia-utils-xiph v0.5.4 [INFO] [stderr] Downloaded extended v0.1.0 [INFO] [stderr] Downloaded symphonia-codec-adpcm v0.5.4 [INFO] [stderr] Downloaded symphonia-codec-pcm v0.5.4 [INFO] [stderr] Downloaded symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Downloaded symphonia-format-riff v0.5.4 [INFO] [stderr] Downloaded proc-macro-crate v3.4.0 [INFO] [stderr] Downloaded is-wsl v0.4.0 [INFO] [stderr] Downloaded symphonia-bundle-flac v0.5.4 [INFO] [stderr] Downloaded instability v0.3.9 [INFO] [stderr] Downloaded is-docker v0.2.0 [INFO] [stderr] Downloaded symphonia-format-isomp4 v0.5.4 [INFO] [stderr] Downloaded litrs v0.4.2 [INFO] [stderr] Downloaded alsa v0.9.1 [INFO] [stderr] Downloaded toml_edit v0.23.6 [INFO] [stderr] Downloaded symphonia-codec-aac v0.5.4 [INFO] [stderr] Downloaded rodio v0.21.1 [INFO] [stderr] Downloaded objc2-audio-toolbox v0.3.1 [INFO] [stderr] Downloaded open v5.3.2 [INFO] [stderr] Downloaded cpal v0.16.0 [INFO] [stderr] Downloaded coreaudio-rs v0.13.0 [INFO] [stderr] Downloaded objc2-core-audio v0.3.1 [INFO] [stderr] Downloaded objc2-core-audio-types v0.3.1 [INFO] [stderr] Downloaded mach2 v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3edd2157ddf2a797f3d6a746351ef2f5ad82316b076b68e71d840e4b5aebd67 [INFO] running `Command { std: "docker" "start" "-a" "e3edd2157ddf2a797f3d6a746351ef2f5ad82316b076b68e71d840e4b5aebd67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3edd2157ddf2a797f3d6a746351ef2f5ad82316b076b68e71d840e4b5aebd67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3edd2157ddf2a797f3d6a746351ef2f5ad82316b076b68e71d840e4b5aebd67", kill_on_drop: false }` [INFO] [stdout] e3edd2157ddf2a797f3d6a746351ef2f5ad82316b076b68e71d840e4b5aebd67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18b70359158df7642b456c7b6b7ba28dc6cb1432a29e645a1bffa79629602449 [INFO] running `Command { std: "docker" "start" "-a" "18b70359158df7642b456c7b6b7ba28dc6cb1432a29e645a1bffa79629602449", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling extended v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling cpal v0.16.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling is-docker v0.2.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling is-wsl v0.4.0 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling symphonia-utils-xiph v0.5.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling symphonia-bundle-flac v0.5.4 [INFO] [stderr] Compiling symphonia-format-ogg v0.5.4 [INFO] [stderr] Compiling symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Compiling symphonia-format-isomp4 v0.5.4 [INFO] [stderr] Compiling symphonia-format-mkv v0.5.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling symphonia-format-riff v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling symphonia-codec-aac v0.5.4 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling symphonia-codec-pcm v0.5.4 [INFO] [stderr] Compiling symphonia-codec-adpcm v0.5.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [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-rational v0.4.2 [INFO] [stderr] Compiling rodio v0.21.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [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 zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [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.17 [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:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | 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 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:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Playback { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | pub streams: Streams, [INFO] [stdout] 21 | pub status: Status, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | 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:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 27 | Playing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | Available, [INFO] [stdout] 30 | Unavailable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `toggle`, `increase`, and `decrease` are never used [INFO] [stdout] --> src/playback.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl Playback { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn toggle(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn increase(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn decrease(&self) { [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 1m 13s [INFO] running `Command { std: "docker" "inspect" "18b70359158df7642b456c7b6b7ba28dc6cb1432a29e645a1bffa79629602449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b70359158df7642b456c7b6b7ba28dc6cb1432a29e645a1bffa79629602449", kill_on_drop: false }` [INFO] [stdout] 18b70359158df7642b456c7b6b7ba28dc6cb1432a29e645a1bffa79629602449 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac5bb5a4de1fdfbeffd943a900bbbd1a9e80b569ac678e8939828e36b8dc781a [INFO] running `Command { std: "docker" "start" "-a" "ac5bb5a4de1fdfbeffd943a900bbbd1a9e80b569ac678e8939828e36b8dc781a", 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:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | 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 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:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Playback { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | pub streams: Streams, [INFO] [stdout] 21 | pub status: Status, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | 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:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 27 | Playing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | Available, [INFO] [stdout] 30 | Unavailable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `toggle`, `increase`, and `decrease` are never used [INFO] [stdout] --> src/playback.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl Playback { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn toggle(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn increase(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn decrease(&self) { [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:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | 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 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:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Playback { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | pub streams: Streams, [INFO] [stdout] 21 | pub status: Status, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | 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:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 27 | Playing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | Available, [INFO] [stdout] 30 | Unavailable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `toggle`, `increase`, and `decrease` are never used [INFO] [stdout] --> src/playback.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl Playback { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn toggle(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn increase(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn decrease(&self) { [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 4.99s [INFO] running `Command { std: "docker" "inspect" "ac5bb5a4de1fdfbeffd943a900bbbd1a9e80b569ac678e8939828e36b8dc781a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac5bb5a4de1fdfbeffd943a900bbbd1a9e80b569ac678e8939828e36b8dc781a", kill_on_drop: false }` [INFO] [stdout] ac5bb5a4de1fdfbeffd943a900bbbd1a9e80b569ac678e8939828e36b8dc781a