[INFO] cloning repository https://github.com/spl3g/pimsync [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spl3g/pimsync" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspl3g%2Fpimsync", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspl3g%2Fpimsync'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ab9a94c0365238e2b05ae8e4ebb75f11a432644 [INFO] checking spl3g/pimsync against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspl3g%2Fpimsync" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/spl3g/pimsync on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/spl3g/pimsync [INFO] finished tweaking git repo https://github.com/spl3g/pimsync [INFO] tweaked toml for git repo https://github.com/spl3g/pimsync written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/spl3g/pimsync 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a272b17c5821ba04ff8706f671ddc6a0e167d3958a76fdc6b34863eddfc3c067 [INFO] running `Command { std: "docker" "start" "-a" "a272b17c5821ba04ff8706f671ddc6a0e167d3958a76fdc6b34863eddfc3c067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a272b17c5821ba04ff8706f671ddc6a0e167d3958a76fdc6b34863eddfc3c067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a272b17c5821ba04ff8706f671ddc6a0e167d3958a76fdc6b34863eddfc3c067", kill_on_drop: false }` [INFO] [stdout] a272b17c5821ba04ff8706f671ddc6a0e167d3958a76fdc6b34863eddfc3c067 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d568612ae895df1b04a6839be6b68023a3924dc7680b4c83c7d61b3dff1c6514 [INFO] running `Command { std: "docker" "start" "-a" "d568612ae895df1b04a6839be6b68023a3924dc7680b4c83c7d61b3dff1c6514", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking value-bag v1.7.0 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling futures-lite v2.2.0 [INFO] [stderr] Compiling event-listener v5.1.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling event-listener-strategy v0.5.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling async-channel v2.2.0 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Compiling polling v3.4.0 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling async-io v2.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Compiling atomic-write-file v0.1.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling sqlx-core v0.7.3 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Compiling sqlx-sqlite v0.7.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Compiling sqlx-macros v0.7.3 [INFO] [stderr] Checking sqlx v0.7.3 [INFO] [stderr] Checking pimsync v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/piped_api.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{self, Error}; [INFO] [stdout] | ^^^^ the item `reqwest` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/cli.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Subcommand, Parser, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PipedError`, `Piped` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use piped_api::{Piped, PipedError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `players::vimusic::Vimusic` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use players::vimusic::Vimusic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cli::parse` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cli::parse; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/piped_api.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{self, Error}; [INFO] [stdout] | ^^^^ the item `reqwest` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/cli.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Subcommand, Parser, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PipedError`, `Piped` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use piped_api::{Piped, PipedError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `players::vimusic::Vimusic` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use players::vimusic::Vimusic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cli::parse` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cli::parse; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> src/players/vimusic.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{players::baseplayer::{Player, PlayerError}, piped_api::{Piped, Playlist, Video}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> src/players/vimusic.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{players::baseplayer::{Player, PlayerError}, piped_api::{Piped, Playlist, Video}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/cli.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | Some(Players::Vimusic { db }) => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `db: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/cli.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | Some(Commands::Login { name, password, instance }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/cli.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | Some(Commands::Login { name, password, instance }) => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `password: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/cli.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 52 | Some(Commands::Login { name, password, instance }) => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `instance: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/cli.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | Some(Players::Vimusic { db }) => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `db: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/cli.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | Some(Commands::Login { name, password, instance }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/cli.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | Some(Commands::Login { name, password, instance }) => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `password: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/cli.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 52 | Some(Commands::Login { name, password, instance }) => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `instance: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piped` [INFO] [stdout] --> src/players/vimusic.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | fn export_existing(piped: &Piped, playlist: &mut Playlist) -> Result<(), PlayerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `playlist` [INFO] [stdout] --> src/players/vimusic.rs:94:39 [INFO] [stdout] | [INFO] [stdout] 94 | fn export_existing(piped: &Piped, playlist: &mut Playlist) -> Result<(), PlayerError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_playlist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piped` [INFO] [stdout] --> src/players/vimusic.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | fn export_existing(piped: &Piped, playlist: &mut Playlist) -> Result<(), PlayerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `playlist` [INFO] [stdout] --> src/players/vimusic.rs:94:39 [INFO] [stdout] | [INFO] [stdout] 94 | fn export_existing(piped: &Piped, playlist: &mut Playlist) -> Result<(), PlayerError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_playlist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/players/vimusic.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut local_playlists = self.playlists.as_mut().ok_or(PlayerError::PlaylistNoVideos)?; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/players/vimusic.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut local_playlists = self.playlists.as_mut().ok_or(PlayerError::PlaylistNoVideos)?; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/cli.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn parse() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_playlists` is never used [INFO] [stdout] --> src/cli.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn list_playlists(playlists: Vec, action: String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlayerError` is never used [INFO] [stdout] --> src/players/baseplayer.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum PlayerError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Player` is never used [INFO] [stdout] --> src/players/baseplayer.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vimusic` is never constructed [INFO] [stdout] --> src/players/vimusic.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Vimusic { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vimusic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `connect`, `get_playlists`, `export_new`, `export_existing`, and `export_to_piped` are never used [INFO] [stdout] --> src/players/vimusic.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vimusic { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | pub fn connect(db: String) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_playlists(&mut self) -> Result<(), PlayerError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn export_new(piped: &Piped, playlist: &mut Playlist) -> Result<(), PlayerError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn export_existing(piped: &Piped, playlist: &mut Playlist) -> Result<(), PlayerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn export_to_piped(&mut self, piped: &Piped) -> Result<(), PlayerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/cli.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn parse() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_playlists` is never used [INFO] [stdout] --> src/cli.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn list_playlists(playlists: Vec, action: String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlayerError` is never used [INFO] [stdout] --> src/players/baseplayer.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum PlayerError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Player` is never used [INFO] [stdout] --> src/players/baseplayer.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vimusic` is never constructed [INFO] [stdout] --> src/players/vimusic.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Vimusic { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vimusic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `connect`, `get_playlists`, `export_new`, `export_existing`, and `export_to_piped` are never used [INFO] [stdout] --> src/players/vimusic.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vimusic { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | pub fn connect(db: String) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_playlists(&mut self) -> Result<(), PlayerError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn export_new(piped: &Piped, playlist: &mut Playlist) -> Result<(), PlayerError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn export_existing(piped: &Piped, playlist: &mut Playlist) -> Result<(), PlayerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn export_to_piped(&mut self, piped: &Piped) -> Result<(), PlayerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/players/baseplayer.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | self.create_playlist(playlist); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = self.create_playlist(playlist); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/players/baseplayer.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | / self.add_songs( [INFO] [stdout] 30 | | playlist.videos [INFO] [stdout] 31 | | .as_ref() [INFO] [stdout] 32 | | .ok_or(PlayerError::PlaylistNoVideos)?, [INFO] [stdout] ... | [INFO] [stdout] 36 | | .to_string() [INFO] [stdout] 37 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = self.add_songs( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/players/baseplayer.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | / piped.add_videos( [INFO] [stdout] 63 | | playlist_name.clone(), [INFO] [stdout] 64 | | playlist_videos, [INFO] [stdout] 65 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = piped.add_videos( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/players/baseplayer.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | self.create_playlist(playlist); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = self.create_playlist(playlist); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/players/baseplayer.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | / piped.add_videos( [INFO] [stdout] 80 | | playlist_name.clone(), [INFO] [stdout] 81 | | playlist_videos, [INFO] [stdout] 82 | | ).map_err(|e| PlayerError::PipedError(e)); [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = piped.add_videos( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/players/baseplayer.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | / self.add_songs( [INFO] [stdout] 30 | | playlist.videos [INFO] [stdout] 31 | | .as_ref() [INFO] [stdout] 32 | | .ok_or(PlayerError::PlaylistNoVideos)?, [INFO] [stdout] ... | [INFO] [stdout] 36 | | .to_string() [INFO] [stdout] 37 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = self.add_songs( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/players/baseplayer.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | / piped.add_videos( [INFO] [stdout] 63 | | playlist_name.clone(), [INFO] [stdout] 64 | | playlist_videos, [INFO] [stdout] 65 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = piped.add_videos( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/players/baseplayer.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | / piped.add_videos( [INFO] [stdout] 80 | | playlist_name.clone(), [INFO] [stdout] 81 | | playlist_videos, [INFO] [stdout] 82 | | ).map_err(|e| PlayerError::PipedError(e)); [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = piped.add_videos( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.53s [INFO] running `Command { std: "docker" "inspect" "d568612ae895df1b04a6839be6b68023a3924dc7680b4c83c7d61b3dff1c6514", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d568612ae895df1b04a6839be6b68023a3924dc7680b4c83c7d61b3dff1c6514", kill_on_drop: false }` [INFO] [stdout] d568612ae895df1b04a6839be6b68023a3924dc7680b4c83c7d61b3dff1c6514