[INFO] cloning repository https://github.com/Deiruwu/jukebox_pi_party [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Deiruwu/jukebox_pi_party" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeiruwu%2Fjukebox_pi_party", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeiruwu%2Fjukebox_pi_party'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b84b8994287f5598cbde3086ffd76429540361e3 [INFO] linting Deiruwu/jukebox_pi_party against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeiruwu%2Fjukebox_pi_party" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Deiruwu/jukebox_pi_party [INFO] finished tweaking git repo https://github.com/Deiruwu/jukebox_pi_party [INFO] tweaked toml for git repo https://github.com/Deiruwu/jukebox_pi_party written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Deiruwu/jukebox_pi_party on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Deiruwu/jukebox_pi_party 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded symphonia-format-riff v0.5.5 [INFO] [stderr] Downloaded symphonia v0.5.5 [INFO] [stderr] Downloaded symphonia-format-mkv v0.5.5 [INFO] [stderr] Downloaded symphonia-utils-xiph v0.5.5 [INFO] [stderr] Downloaded symphonia-format-ogg v0.5.5 [INFO] [stderr] Downloaded extended v0.1.0 [INFO] [stderr] Downloaded symphonia-metadata v0.5.5 [INFO] [stderr] Downloaded symphonia-format-isomp4 v0.5.5 [INFO] [stderr] Downloaded windows-numerics v0.3.1 [INFO] [stderr] Downloaded symphonia-codec-alac v0.5.5 [INFO] [stderr] Downloaded windows-collections v0.3.2 [INFO] [stderr] Downloaded cpufeatures v0.3.0 [INFO] [stderr] Downloaded windows-threading v0.2.1 [INFO] [stderr] Downloaded crc v3.4.0 [INFO] [stderr] Downloaded objc2-core-audio v0.3.2 [INFO] [stderr] Downloaded alsa-sys v0.4.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.24.0 [INFO] [stderr] Downloaded tungstenite v0.24.0 [INFO] [stderr] Downloaded dispatch2 v0.3.1 [INFO] [stderr] Downloaded alsa v0.11.0 [INFO] [stderr] Downloaded objc2-avf-audio v0.3.2 [INFO] [stderr] Downloaded rodio v0.22.2 [INFO] [stderr] Downloaded num-bigint-dig v0.8.6 [INFO] [stderr] Downloaded cpal v0.17.3 [INFO] [stderr] Downloaded rsa v0.9.10 [INFO] [stderr] Downloaded objc2-audio-toolbox v0.3.2 [INFO] [stderr] Downloaded rand v0.10.0 [INFO] [stderr] Downloaded rand_distr v0.6.0 [INFO] [stderr] Downloaded rtrb v0.3.3 [INFO] [stderr] Downloaded objc2 v0.6.4 [INFO] [stderr] Downloaded cc v1.2.57 [INFO] [stderr] Downloaded symphonia-bundle-mp3 v0.5.5 [INFO] [stderr] Downloaded symphonia-codec-vorbis v0.5.5 [INFO] [stderr] Downloaded symphonia-core v0.5.5 [INFO] [stderr] Downloaded mach2 v0.5.0 [INFO] [stderr] Downloaded rand_core v0.10.0 [INFO] [stderr] Downloaded symphonia-codec-aac v0.5.5 [INFO] [stderr] Downloaded coreaudio-rs v0.14.0 [INFO] [stderr] Downloaded objc2-core-audio-types v0.3.2 [INFO] [stderr] Downloaded windows-future v0.3.2 [INFO] [stderr] Downloaded chacha20 v0.10.0 [INFO] [stderr] Downloaded ratatui v0.28.1 [INFO] [stderr] Downloaded redox_syscall v0.7.3 [INFO] [stderr] Downloaded symphonia-bundle-flac v0.5.5 [INFO] [stderr] Downloaded symphonia-codec-adpcm v0.5.5 [INFO] [stderr] Downloaded symphonia-format-caf v0.5.5 [INFO] [stderr] Downloaded symphonia-codec-pcm v0.5.5 [INFO] [stderr] Downloaded windows v0.62.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f8a5ba1b9f7a719e3d34c64657b2b30f71c4eaef156628ffeee99dc173f19d2 [INFO] running `Command { std: "docker" "start" "-a" "1f8a5ba1b9f7a719e3d34c64657b2b30f71c4eaef156628ffeee99dc173f19d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f8a5ba1b9f7a719e3d34c64657b2b30f71c4eaef156628ffeee99dc173f19d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f8a5ba1b9f7a719e3d34c64657b2b30f71c4eaef156628ffeee99dc173f19d2", kill_on_drop: false }` [INFO] [stdout] 1f8a5ba1b9f7a719e3d34c64657b2b30f71c4eaef156628ffeee99dc173f19d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab4b5b7dfc17de7fbc76686e0940dd78b44e9db338115021f989fb5de0618a3b [INFO] running `Command { std: "docker" "start" "-a" "ab4b5b7dfc17de7fbc76686e0940dd78b44e9db338115021f989fb5de0618a3b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking symphonia-core v0.5.5 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking symphonia-metadata v0.5.5 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking symphonia-utils-xiph v0.5.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling alsa-sys v0.4.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking rand_core v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling cpal v0.17.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling instability v0.3.10 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking extended v0.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking symphonia-format-riff v0.5.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking alsa v0.11.0 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking rand v0.10.0 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking symphonia-codec-vorbis v0.5.5 [INFO] [stderr] Checking symphonia-format-mkv v0.5.5 [INFO] [stderr] Checking symphonia-format-isomp4 v0.5.5 [INFO] [stderr] Checking symphonia-format-ogg v0.5.5 [INFO] [stderr] Checking symphonia-bundle-flac v0.5.5 [INFO] [stderr] Checking symphonia-format-caf v0.5.5 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.5 [INFO] [stderr] Checking symphonia-codec-alac v0.5.5 [INFO] [stderr] Checking symphonia-codec-pcm v0.5.5 [INFO] [stderr] Checking symphonia-codec-adpcm v0.5.5 [INFO] [stderr] Checking symphonia-codec-aac v0.5.5 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking rand_distr v0.6.0 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking rtrb v0.3.3 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking symphonia v0.5.5 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking rodio v0.22.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking ratatui v0.28.1 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking jukebox_pi_party__ v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/managers/queue_manager.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / /** [INFO] [stdout] 63 | | * ====================== [INFO] [stdout] 64 | | * QUEUE MANAGER [INFO] [stdout] 65 | | * ====================== [INFO] [stdout] 66 | | */ [INFO] [stdout] 67 | | [INFO] [stdout] | |_^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub struct QueueManager { [INFO] [stdout] | ----------------------- the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/managers/queue_manager.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | / /** [INFO] [stdout] 88 | | * Enqueue, función qué añade una canción al final de la queue, [INFO] [stdout] 89 | | * si no hay nada sonando, se reproduce automáticamente. [INFO] [stdout] 90 | | * Sistema FIFO [INFO] [stdout] 91 | | */ [INFO] [stdout] 92 | | [INFO] [stdout] | |_^ [INFO] [stdout] 93 | pub fn enqueue(&self, track: Track) -> Result<(), QueueError> { [INFO] [stdout] | -------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/managers/queue_manager.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | / /** [INFO] [stdout] 116 | | * Función utilizada para hacer un pop en el Vec queue y reproducir la canción al instante. [INFO] [stdout] 117 | | * Permite gestionar también el proceso natural las canciones, ejecutándose al terminar una canción [INFO] [stdout] 118 | | * también se encarga de mover la canción que estaba sonando al historial. [INFO] [stdout] 119 | | */ [INFO] [stdout] 120 | | [INFO] [stdout] | |_^ [INFO] [stdout] 121 | pub fn play_next(&self) -> Result<(), QueueError> { [INFO] [stdout] | ---------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/managers/queue_manager.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | / /** [INFO] [stdout] 179 | | * =================================== [INFO] [stdout] 180 | | * FUNCIONES DE MANIPULACIÓN DE QUEUE [INFO] [stdout] 181 | | * =================================== [INFO] [stdout] 182 | | */ [INFO] [stdout] 183 | | [INFO] [stdout] | |_^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn remove(&self, index: usize) -> Result { [INFO] [stdout] | ------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/managers/queue_manager.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / /** [INFO] [stdout] 63 | | * ====================== [INFO] [stdout] 64 | | * QUEUE MANAGER [INFO] [stdout] 65 | | * ====================== [INFO] [stdout] 66 | | */ [INFO] [stdout] 67 | | [INFO] [stdout] | |_^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub struct QueueManager { [INFO] [stdout] | ----------------------- the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/managers/queue_manager.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | / /** [INFO] [stdout] 88 | | * Enqueue, función qué añade una canción al final de la queue, [INFO] [stdout] 89 | | * si no hay nada sonando, se reproduce automáticamente. [INFO] [stdout] 90 | | * Sistema FIFO [INFO] [stdout] 91 | | */ [INFO] [stdout] 92 | | [INFO] [stdout] | |_^ [INFO] [stdout] 93 | pub fn enqueue(&self, track: Track) -> Result<(), QueueError> { [INFO] [stdout] | -------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/managers/queue_manager.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | / /** [INFO] [stdout] 214 | | * =============================== [INFO] [stdout] 215 | | * GESTION DE ESTADOS DE LA QUEUE [INFO] [stdout] 216 | | * =============================== [INFO] [stdout] 217 | | */ [INFO] [stdout] 218 | | [INFO] [stdout] | |_^ [INFO] [stdout] 219 | pub fn current(&self) -> Option { [INFO] [stdout] | -------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/managers/queue_manager.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | / /** [INFO] [stdout] 116 | | * Función utilizada para hacer un pop en el Vec queue y reproducir la canción al instante. [INFO] [stdout] 117 | | * Permite gestionar también el proceso natural las canciones, ejecutándose al terminar una canción [INFO] [stdout] 118 | | * también se encarga de mover la canción que estaba sonando al historial. [INFO] [stdout] 119 | | */ [INFO] [stdout] 120 | | [INFO] [stdout] | |_^ [INFO] [stdout] 121 | pub fn play_next(&self) -> Result<(), QueueError> { [INFO] [stdout] | ---------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/managers/queue_manager.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | / /** [INFO] [stdout] 248 | | * Función interna del sistema qué se encarga de gestionar la reproducción [INFO] [stdout] 249 | | * de las canciones utilizando las funciones del servicio engine y encoder [INFO] [stdout] 250 | | */ [INFO] [stdout] 251 | | [INFO] [stdout] | |_^ [INFO] [stdout] 252 | fn play_track(&self, track: Track) -> Result<(), QueueError> { [INFO] [stdout] | ------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/managers/queue_manager.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | / /** [INFO] [stdout] 179 | | * =================================== [INFO] [stdout] 180 | | * FUNCIONES DE MANIPULACIÓN DE QUEUE [INFO] [stdout] 181 | | * =================================== [INFO] [stdout] 182 | | */ [INFO] [stdout] 183 | | [INFO] [stdout] | |_^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn remove(&self, index: usize) -> Result { [INFO] [stdout] | ------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/managers/queue_manager.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | / /** [INFO] [stdout] 214 | | * =============================== [INFO] [stdout] 215 | | * GESTION DE ESTADOS DE LA QUEUE [INFO] [stdout] 216 | | * =============================== [INFO] [stdout] 217 | | */ [INFO] [stdout] 218 | | [INFO] [stdout] | |_^ [INFO] [stdout] 219 | pub fn current(&self) -> Option { [INFO] [stdout] | -------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/managers/queue_manager.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | / /** [INFO] [stdout] 248 | | * Función interna del sistema qué se encarga de gestionar la reproducción [INFO] [stdout] 249 | | * de las canciones utilizando las funciones del servicio engine y encoder [INFO] [stdout] 250 | | */ [INFO] [stdout] 251 | | [INFO] [stdout] | |_^ [INFO] [stdout] 252 | fn play_track(&self, track: Track) -> Result<(), QueueError> { [INFO] [stdout] | ------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sample_rate`, `channels`, `bit_depth`, and `codec` are never read [INFO] [stdout] --> src/model/playable_track.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AudioProperties { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 4 | pub sample_rate: u32, // 48000 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | pub channels: u8, // 2 (stereo) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | pub bit_depth: Option, // 24, 16, None si es lossy (mp3) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub codec: String, // "flac", "mp3", "aac" [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioProperties` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `track` is never read [INFO] [stdout] --> src/model/playable_track.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PlayableTrack { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 13 | pub track: Track, // metadatos de negocio [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayableTrack` 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: enum `SearchResponse` is never used [INFO] [stdout] --> src/model/SearchResponse.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum SearchResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackDto` is never constructed [INFO] [stdout] --> src/model/SearchResponse.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TrackDto { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MissingCodecParams` is never constructed [INFO] [stdout] --> src/audio/decoder.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum DecodeError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | MissingCodecParams(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecodeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_volume`, `get_volume`, and `state` are never used [INFO] [stdout] --> src/audio/engine.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl AudioEngine { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn set_volume(&self, level: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn get_volume(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn state(&self) -> PlaybackState { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all` is never used [INFO] [stdout] --> src/repository/track_repository.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl TrackRepository { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn get_all(&self) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resolve` is never used [INFO] [stdout] --> src/managers/track_manager.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 42 | impl TrackManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn resolve(&self, query: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `play_next_track`, `history`, and `current_track` are never used [INFO] [stdout] --> src/managers/queue_manager.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl QueueManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn play_next_track(&self, track: Track) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn history(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn current_track(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackDto` is never constructed [INFO] [stdout] --> src/web.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct TrackDto { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sample_rate`, `channels`, `bit_depth`, and `codec` are never read [INFO] [stdout] --> src/model/playable_track.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AudioProperties { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 4 | pub sample_rate: u32, // 48000 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | pub channels: u8, // 2 (stereo) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | pub bit_depth: Option, // 24, 16, None si es lossy (mp3) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub codec: String, // "flac", "mp3", "aac" [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioProperties` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `track` is never read [INFO] [stdout] --> src/model/playable_track.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PlayableTrack { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 13 | pub track: Track, // metadatos de negocio [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayableTrack` 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: enum `SearchResponse` is never used [INFO] [stdout] --> src/model/SearchResponse.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum SearchResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackDto` is never constructed [INFO] [stdout] --> src/model/SearchResponse.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TrackDto { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MissingCodecParams` is never constructed [INFO] [stdout] --> src/audio/decoder.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum DecodeError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | MissingCodecParams(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecodeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_volume`, `get_volume`, and `state` are never used [INFO] [stdout] --> src/audio/engine.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl AudioEngine { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn set_volume(&self, level: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn get_volume(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn state(&self) -> PlaybackState { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all` is never used [INFO] [stdout] --> src/repository/track_repository.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl TrackRepository { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn get_all(&self) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resolve` is never used [INFO] [stdout] --> src/managers/track_manager.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 42 | impl TrackManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn resolve(&self, query: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `play_next_track`, `history`, and `current_track` are never used [INFO] [stdout] --> src/managers/queue_manager.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl QueueManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn play_next_track(&self, track: Track) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn history(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn current_track(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrackDto` is never constructed [INFO] [stdout] --> src/web.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct TrackDto { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/audio/engine.rs:108:42 [INFO] [stdout] | [INFO] [stdout] 108 | let player = Player::connect_new(&self._sink.mixer()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: change this to: `self._sink.mixer()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/managers/track_manager.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | / if let Some(cached) = self.repo.get_by_id(&id).await? { [INFO] [stdout] 62 | | if cached.path.is_some() { [INFO] [stdout] 63 | | return Ok(cached); [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 61 ~ if let Some(cached) = self.repo.get_by_id(&id).await? [INFO] [stdout] 62 ~ && cached.path.is_some() { [INFO] [stdout] 63 | return Ok(cached); [INFO] [stdout] 64 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/managers/track_manager.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | / if let Some(cached) = self.repo.get_by_id(&track.id).await? { [INFO] [stdout] 76 | | if cached.path.is_some() { [INFO] [stdout] 77 | | return Ok(cached); [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 75 ~ if let Some(cached) = self.repo.get_by_id(&track.id).await? [INFO] [stdout] 76 ~ && cached.path.is_some() { [INFO] [stdout] 77 | return Ok(cached); [INFO] [stdout] 78 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/audio/engine.rs:108:42 [INFO] [stdout] | [INFO] [stdout] 108 | let player = Player::connect_new(&self._sink.mixer()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: change this to: `self._sink.mixer()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/managers/queue_manager.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | s.current.is_none() && !self.engine.is_finished() == false [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.engine.is_finished() != false` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: equality checks against false can be replaced by a negation [INFO] [stdout] --> src/managers/queue_manager.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | s.current.is_none() && !self.engine.is_finished() == false [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.engine.is_finished()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] = note: `#[warn(clippy::bool_comparison)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> src/managers/queue_manager.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let _ = current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] = note: `#[warn(clippy::let_unit_value)]` on by default [INFO] [stdout] help: omit the `let` binding [INFO] [stdout] | [INFO] [stdout] 155 - let _ = current; [INFO] [stdout] 155 + current; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/managers/track_manager.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | / if let Some(cached) = self.repo.get_by_id(&id).await? { [INFO] [stdout] 62 | | if cached.path.is_some() { [INFO] [stdout] 63 | | return Ok(cached); [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 61 ~ if let Some(cached) = self.repo.get_by_id(&id).await? [INFO] [stdout] 62 ~ && cached.path.is_some() { [INFO] [stdout] 63 | return Ok(cached); [INFO] [stdout] 64 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/managers/track_manager.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | / if let Some(cached) = self.repo.get_by_id(&track.id).await? { [INFO] [stdout] 76 | | if cached.path.is_some() { [INFO] [stdout] 77 | | return Ok(cached); [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 75 ~ if let Some(cached) = self.repo.get_by_id(&track.id).await? [INFO] [stdout] 76 ~ && cached.path.is_some() { [INFO] [stdout] 77 | return Ok(cached); [INFO] [stdout] 78 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/tui.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | / if event::poll(Duration::from_millis(100))? { [INFO] [stdout] 128 | | if let Event::Key(key) = event::read()? { [INFO] [stdout] 129 | | if key.kind != KeyEventKind::Press { continue; } [INFO] [stdout] 130 | | if self.handle_key(key.code) { break; } [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 127 ~ if event::poll(Duration::from_millis(100))? [INFO] [stdout] 128 ~ && let Event::Key(key) = event::read()? { [INFO] [stdout] 129 | if key.kind != KeyEventKind::Press { continue; } [INFO] [stdout] 130 | if self.handle_key(key.code) { break; } [INFO] [stdout] 131 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/managers/queue_manager.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | s.current.is_none() && !self.engine.is_finished() == false [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.engine.is_finished() != false` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: equality checks against false can be replaced by a negation [INFO] [stdout] --> src/managers/queue_manager.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | s.current.is_none() && !self.engine.is_finished() == false [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.engine.is_finished()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] = note: `#[warn(clippy::bool_comparison)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> src/managers/queue_manager.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let _ = current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] = note: `#[warn(clippy::let_unit_value)]` on by default [INFO] [stdout] help: omit the `let` binding [INFO] [stdout] | [INFO] [stdout] 155 - let _ = current; [INFO] [stdout] 155 + current; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/tui.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | format!("{}", self.search_input), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `self.search_input.to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/tui.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | / if event::poll(Duration::from_millis(100))? { [INFO] [stdout] 128 | | if let Event::Key(key) = event::read()? { [INFO] [stdout] 129 | | if key.kind != KeyEventKind::Press { continue; } [INFO] [stdout] 130 | | if self.handle_key(key.code) { break; } [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 127 ~ if event::poll(Duration::from_millis(100))? [INFO] [stdout] 128 ~ && let Event::Key(key) = event::read()? { [INFO] [stdout] 129 | if key.kind != KeyEventKind::Press { continue; } [INFO] [stdout] 130 | if self.handle_key(key.code) { break; } [INFO] [stdout] 131 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/tui.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | format!("{}", self.search_input), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `self.search_input.to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SearchResponse` should have a snake case name [INFO] [stdout] --> src/model/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod SearchResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `search_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SearchResponse` should have a snake case name [INFO] [stdout] --> src/model/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod SearchResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `search_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "ab4b5b7dfc17de7fbc76686e0940dd78b44e9db338115021f989fb5de0618a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab4b5b7dfc17de7fbc76686e0940dd78b44e9db338115021f989fb5de0618a3b", kill_on_drop: false }` [INFO] [stdout] ab4b5b7dfc17de7fbc76686e0940dd78b44e9db338115021f989fb5de0618a3b