[INFO] fetching crate libre-url2audio-lib 0.1.7... [INFO] checking libre-url2audio-lib-0.1.7 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate libre-url2audio-lib 0.1.7 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate libre-url2audio-lib 0.1.7 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libre-url2audio-lib 0.1.7 [INFO] finished tweaking crates.io crate libre-url2audio-lib 0.1.7 [INFO] tweaked toml for crates.io crate libre-url2audio-lib 0.1.7 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate libre-url2audio-lib 0.1.7 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded symphonia-format-riff 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-format-caf v0.5.4 [INFO] [stderr] Downloaded symphonia-format-mkv v0.5.4 [INFO] [stderr] Downloaded symphonia-codec-adpcm v0.5.4 [INFO] [stderr] Downloaded symphonia-codec-pcm v0.5.4 [INFO] [stderr] Downloaded ureq v2.10.0 [INFO] [stderr] Downloaded symphonia-bundle-flac v0.5.4 [INFO] [stderr] Downloaded symphonia-codec-aac v0.5.4 [INFO] [stderr] Downloaded symphonia-codec-alac v0.5.4 [INFO] [stderr] Downloaded symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Downloaded symphonia-format-isomp4 v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eae4627fc78c16e23489cc11901e1af40eaa411d7e22576b1662eb6475a9a90e [INFO] running `Command { std: "docker" "start" "-a" "eae4627fc78c16e23489cc11901e1af40eaa411d7e22576b1662eb6475a9a90e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eae4627fc78c16e23489cc11901e1af40eaa411d7e22576b1662eb6475a9a90e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae4627fc78c16e23489cc11901e1af40eaa411d7e22576b1662eb6475a9a90e", kill_on_drop: false }` [INFO] [stdout] eae4627fc78c16e23489cc11901e1af40eaa411d7e22576b1662eb6475a9a90e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8dd53d2c9170136c126d784bf0c7783f0dadb0954df0a234e3527b43f4bcd27 [INFO] running `Command { std: "docker" "start" "-a" "a8dd53d2c9170136c126d784bf0c7783f0dadb0954df0a234e3527b43f4bcd27", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.105 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Checking tinyvec v1.7.0 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling libpulse-sys v1.21.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling libpulse-simple-sys v1.21.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling rustls v0.23.10 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking extended v0.1.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking libpulse-binding v2.28.1 [INFO] [stderr] Checking libpulse-simple-binding v2.28.1 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Checking rustls-webpki v0.102.5 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Checking symphonia-codec-adpcm v0.5.4 [INFO] [stderr] Checking symphonia-codec-aac v0.5.4 [INFO] [stderr] Checking symphonia-codec-alac v0.5.4 [INFO] [stderr] Checking symphonia-codec-pcm v0.5.4 [INFO] [stderr] Checking symphonia-utils-xiph v0.5.4 [INFO] [stderr] Checking symphonia-format-riff v0.5.4 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking symphonia-format-caf v0.5.4 [INFO] [stderr] Checking symphonia-bundle-flac v0.5.4 [INFO] [stderr] Checking symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Checking symphonia-format-ogg v0.5.4 [INFO] [stderr] Checking symphonia-format-isomp4 v0.5.4 [INFO] [stderr] Checking symphonia-format-mkv v0.5.4 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking ureq v2.10.0 [INFO] [stderr] Checking libre-url2audio-lib v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/player_engine.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | let s = self.tx_status.send(PlayerStatus::SendPlaying(false)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/player_engine.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | let s = self.tx_status.send(PlayerStatus::SendPlaying(true)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/player_engine.rs:200:45 [INFO] [stdout] | [INFO] [stdout] 200 | ... let r = reader.seek( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rx` and `tx_status` are never read [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | rx: Receiver, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | rx_status: Receiver, [INFO] [stdout] 16 | tx_status: Sender, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Close` is never constructed [INFO] [stdout] --> src/player_engine.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum PlayerActions { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | Close, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerActions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tx` and `src` are never read [INFO] [stdout] --> src/player_engine.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct PlayerEngine { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | tx: Sender, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 43 | src: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_progress` is never used [INFO] [stdout] --> src/player_engine.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl PlayerEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn print_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ignore_end_of_stream_error` is never used [INFO] [stdout] --> src/player_engine.rs:287:4 [INFO] [stdout] | [INFO] [stdout] 287 | fn ignore_end_of_stream_error(result: Result<()>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush` is never used [INFO] [stdout] --> src/pulseaudio.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait AudioOutput { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 18 | fn write(&mut self, decoded: AudioBufferRef<'_>) -> Result<()>; [INFO] [stdout] 19 | fn flush(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/player_engine.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | let s = self.tx_status.send(PlayerStatus::SendPlaying(false)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/player_engine.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | let s = self.tx_status.send(PlayerStatus::SendPlaying(true)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/player_engine.rs:200:45 [INFO] [stdout] | [INFO] [stdout] 200 | ... let r = reader.seek( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rx` and `tx_status` are never read [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | rx: Receiver, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | rx_status: Receiver, [INFO] [stdout] 16 | tx_status: Sender, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Close` is never constructed [INFO] [stdout] --> src/player_engine.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum PlayerActions { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | Close, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerActions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tx` and `src` are never read [INFO] [stdout] --> src/player_engine.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct PlayerEngine { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | tx: Sender, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 43 | src: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_progress` is never used [INFO] [stdout] --> src/player_engine.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl PlayerEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn print_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ignore_end_of_stream_error` is never used [INFO] [stdout] --> src/player_engine.rs:287:4 [INFO] [stdout] | [INFO] [stdout] 287 | fn ignore_end_of_stream_error(result: Result<()>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush` is never used [INFO] [stdout] --> src/pulseaudio.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait AudioOutput { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 18 | fn write(&mut self, decoded: AudioBufferRef<'_>) -> Result<()>; [INFO] [stdout] 19 | fn flush(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/player_engine.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | let s = self.tx_status.send(PlayerStatus::SendPlaying(false)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/player_engine.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | let s = self.tx_status.send(PlayerStatus::SendPlaying(true)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/player_engine.rs:200:45 [INFO] [stdout] | [INFO] [stdout] 200 | ... let r = reader.seek( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/url_source.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl UrlSource { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pause`, `Resume`, `Seek`, `Close`, and `Open` are never constructed [INFO] [stdout] --> src/player_engine.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum PlayerActions { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 23 | Pause, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | Resume, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | Seek(f64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | Close, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | Open(String) // veliki loop za sve (open, play, play track...) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerActions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SendPlaying`, `SendDuration`, and `SendPosition` are never constructed [INFO] [stdout] --> src/player_engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum PlayerStatus { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 32 | SendPlaying(bool), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | SendDuration(f64), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | SendPosition(f64), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerStatus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reader`, `rx`, `tx`, `tx_status`, and `src` are never read [INFO] [stdout] --> src/player_engine.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct PlayerEngine { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 38 | reader: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | rx: Receiver, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | tx: Sender, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | // rx_status: Receiver, [INFO] [stdout] 42 | tx_status: Sender, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 43 | src: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerState` is never constructed [INFO] [stdout] --> src/player_engine.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct PlayerState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `open`, and `print_progress` are never used [INFO] [stdout] --> src/player_engine.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl PlayerEngine { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn start(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | fn open(&mut self, path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | fn print_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ignore_end_of_stream_error` is never used [INFO] [stdout] --> src/player_engine.rs:287:4 [INFO] [stdout] | [INFO] [stdout] 287 | fn ignore_end_of_stream_error(result: Result<()>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_open` is never used [INFO] [stdout] --> src/player_engine.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn try_open(spec: SignalSpec, duration: Duration) -> pulseaudio::Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_progress` is never used [INFO] [stdout] --> src/player_engine.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn update_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_supported_track` is never used [INFO] [stdout] --> src/player_engine.rs:323:4 [INFO] [stdout] | [INFO] [stdout] 323 | fn first_supported_track(tracks: &[Track]) -> Option<&Track> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write` and `flush` are never used [INFO] [stdout] --> src/pulseaudio.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait AudioOutput { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 18 | fn write(&mut self, decoded: AudioBufferRef<'_>) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | fn flush(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_open` is never used [INFO] [stdout] --> src/pulseaudio.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl PulseAudioOutput { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 28 | pub fn try_open(spec: SignalSpec, duration: Duration) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_channels_to_pa_channelmap` is never used [INFO] [stdout] --> src/pulseaudio.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn map_channels_to_pa_channelmap(channels: Channels) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/player_engine.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | let s = self.tx_status.send(PlayerStatus::SendPlaying(false)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/player_engine.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | let s = self.tx_status.send(PlayerStatus::SendPlaying(true)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/player_engine.rs:200:45 [INFO] [stdout] | [INFO] [stdout] 200 | ... let r = reader.seek( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/url_source.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl UrlSource { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pause`, `Resume`, `Seek`, `Close`, and `Open` are never constructed [INFO] [stdout] --> src/player_engine.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum PlayerActions { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 23 | Pause, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | Resume, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | Seek(f64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | Close, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | Open(String) // veliki loop za sve (open, play, play track...) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerActions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SendPlaying`, `SendDuration`, and `SendPosition` are never constructed [INFO] [stdout] --> src/player_engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum PlayerStatus { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 32 | SendPlaying(bool), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | SendDuration(f64), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | SendPosition(f64), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerStatus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reader`, `rx`, `tx`, `tx_status`, and `src` are never read [INFO] [stdout] --> src/player_engine.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct PlayerEngine { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 38 | reader: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | rx: Receiver, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | tx: Sender, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | // rx_status: Receiver, [INFO] [stdout] 42 | tx_status: Sender, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 43 | src: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerState` is never constructed [INFO] [stdout] --> src/player_engine.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct PlayerState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `open`, and `print_progress` are never used [INFO] [stdout] --> src/player_engine.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl PlayerEngine { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn start(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | fn open(&mut self, path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | fn print_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ignore_end_of_stream_error` is never used [INFO] [stdout] --> src/player_engine.rs:287:4 [INFO] [stdout] | [INFO] [stdout] 287 | fn ignore_end_of_stream_error(result: Result<()>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_open` is never used [INFO] [stdout] --> src/player_engine.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn try_open(spec: SignalSpec, duration: Duration) -> pulseaudio::Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_progress` is never used [INFO] [stdout] --> src/player_engine.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn update_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_supported_track` is never used [INFO] [stdout] --> src/player_engine.rs:323:4 [INFO] [stdout] | [INFO] [stdout] 323 | fn first_supported_track(tracks: &[Track]) -> Option<&Track> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write` and `flush` are never used [INFO] [stdout] --> src/pulseaudio.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait AudioOutput { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 18 | fn write(&mut self, decoded: AudioBufferRef<'_>) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | fn flush(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_open` is never used [INFO] [stdout] --> src/pulseaudio.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl PulseAudioOutput { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 28 | pub fn try_open(spec: SignalSpec, duration: Duration) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_channels_to_pa_channelmap` is never used [INFO] [stdout] --> src/pulseaudio.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn map_channels_to_pa_channelmap(channels: Channels) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.39s [INFO] running `Command { std: "docker" "inspect" "a8dd53d2c9170136c126d784bf0c7783f0dadb0954df0a234e3527b43f4bcd27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8dd53d2c9170136c126d784bf0c7783f0dadb0954df0a234e3527b43f4bcd27", kill_on_drop: false }` [INFO] [stdout] a8dd53d2c9170136c126d784bf0c7783f0dadb0954df0a234e3527b43f4bcd27