[INFO] cloning repository https://github.com/wuliao97/spotify-client-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wuliao97/spotify-client-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwuliao97%2Fspotify-client-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwuliao97%2Fspotify-client-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce72f3fc8340650276a785517c3a8692452a0086 [INFO] checking wuliao97/spotify-client-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwuliao97%2Fspotify-client-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wuliao97/spotify-client-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wuliao97/spotify-client-rs [INFO] finished tweaking git repo https://github.com/wuliao97/spotify-client-rs [INFO] tweaked toml for git repo https://github.com/wuliao97/spotify-client-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wuliao97/spotify-client-rs 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rspotify-macros v0.13.1 [INFO] [stderr] Downloaded rspotify-http v0.13.1 [INFO] [stderr] Downloaded config_parser_derive v0.1.3 [INFO] [stderr] Downloaded config_parser2 v0.1.5 [INFO] [stderr] Downloaded librespot-metadata v0.4.2 [INFO] [stderr] Downloaded librespot-connect v0.4.2 [INFO] [stderr] Downloaded rspotify-model v0.13.1 [INFO] [stderr] Downloaded librespot-protocol v0.4.2 [INFO] [stderr] Downloaded libmdns v0.7.5 [INFO] [stderr] Downloaded priority-queue v1.4.0 [INFO] [stderr] Downloaded librespot-playback v0.4.2 [INFO] [stderr] Downloaded librespot-core v0.4.2 [INFO] [stderr] Downloaded librespot-discovery v0.4.2 [INFO] [stderr] Downloaded librespot-audio v0.4.2 [INFO] [stderr] Downloaded rspotify v0.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2676cf70e70dd576daf0ea8cff503290f639d8ce9957ee681ae06eb30ed83d22 [INFO] running `Command { std: "docker" "start" "-a" "2676cf70e70dd576daf0ea8cff503290f639d8ce9957ee681ae06eb30ed83d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2676cf70e70dd576daf0ea8cff503290f639d8ce9957ee681ae06eb30ed83d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2676cf70e70dd576daf0ea8cff503290f639d8ce9957ee681ae06eb30ed83d22", kill_on_drop: false }` [INFO] [stdout] 2676cf70e70dd576daf0ea8cff503290f639d8ce9957ee681ae06eb30ed83d22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81f7f2bbf98435aa62db0d065bb62a6f9ef66fe74848dd3b805c0f3a1148d252 [INFO] running `Command { std: "docker" "start" "-a" "81f7f2bbf98435aa62db0d065bb62a6f9ef66fe74848dd3b805c0f3a1148d252", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking thread-id v4.2.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling vergen v3.2.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling librespot-core v0.4.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking shannon v0.2.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling protobuf-codegen-pure v2.28.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking aes-ctr v0.6.0 [INFO] [stderr] Compiling librespot-protocol v0.4.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking if-addrs v0.7.0 [INFO] [stderr] Checking hyper-proxy v0.9.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking winnow v0.6.8 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking librespot-audio v0.4.2 [INFO] [stderr] Checking librespot-metadata v0.4.2 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking zerocopy v0.6.6 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking libmdns v0.7.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking librespot-discovery v0.4.2 [INFO] [stderr] Checking rspotify-model v0.13.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking toml_edit v0.22.13 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Compiling config_parser_derive v0.1.3 [INFO] [stderr] Checking librespot-playback v0.4.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking rspotify-macros v0.13.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking ttl_cache v0.5.1 [INFO] [stderr] Checking librespot-connect v0.4.2 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking toml v0.8.13 [INFO] [stderr] Checking config_parser2 v0.1.5 [INFO] [stderr] Checking rspotify-http v0.13.1 [INFO] [stderr] Checking rspotify v0.13.1 [INFO] [stderr] Checking spotify-client-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::constant::*` [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constant::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/config.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/config.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/auth.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenvy::var` [INFO] [stdout] --> src/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dotenvy::var; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SessionError` [INFO] [stdout] --> src/auth.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | session::{Session, SessionError}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config` [INFO] [stdout] --> src/auth.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constant::*` [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constant::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/config.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/config.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/auth.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenvy::var` [INFO] [stdout] --> src/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dotenvy::var; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SessionError` [INFO] [stdout] --> src/auth.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | session::{Session, SessionError}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config` [INFO] [stdout] --> src/auth.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reauth` [INFO] [stdout] --> src/auth.rs:140:52 [INFO] [stdout] | [INFO] [stdout] 140 | pub async fn new_session(auth_config: &AuthConfig, reauth: bool) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reauth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reauth` [INFO] [stdout] --> src/auth.rs:140:52 [INFO] [stdout] | [INFO] [stdout] 140 | pub async fn new_session(auth_config: &AuthConfig, reauth: bool) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reauth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_uri` is never used [INFO] [stdout] --> src/utils.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse_uri(uri: &str) -> Cow { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `USER_TOP_TRACKS_ID` is never used [INFO] [stdout] --> src/constant.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub static USER_TOP_TRACKS_ID: Lazy = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `USER_RECENTLY_PLAYED_TRACKS_ID` is never used [INFO] [stdout] --> src/constant.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub static USER_RECENTLY_PLAYED_TRACKS_ID: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `USER_LIKED_TRACKS_ID` is never used [INFO] [stdout] --> src/constant.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub static USER_LIKED_TRACKS_ID: Lazy = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CONFIG_FOLDER` is never used [INFO] [stdout] --> src/constant.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const DEFAULT_CONFIG_FOLDER: &str = ".config/spotify-player"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CACHE_FOLDER` is never used [INFO] [stdout] --> src/constant.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const DEFAULT_CACHE_FOLDER: &str = ".cache/spotify-player"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_CONFIG_FILE` is never used [INFO] [stdout] --> src/constant.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const APP_CONFIG_FILE: &str = "app.toml"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Playlist`, `Album`, `Artist`, and `Tracks` are never constructed [INFO] [stdout] --> src/model.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum ContextId { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 42 | Playlist(PlaylistId<'static>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | Album(AlbumId<'static>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | Artist(ArtistId<'static>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | Tracks(TracksId), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContextId` 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: enum `Playback` is never used [INFO] [stdout] --> src/model.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum Playback { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Playback` 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: enum `TrackOrder` is never used [INFO] [stdout] --> src/model.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum TrackOrder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackOrder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Item` is never used [INFO] [stdout] --> src/model.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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 `ItemId` is never used [INFO] [stdout] --> src/model.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | pub enum ItemId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemId` 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: struct `Device` is never constructed [INFO] [stdout] --> src/model.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct Device { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Device` 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: method `uri` is never used [INFO] [stdout] --> src/model.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl ContextId { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 198 | pub fn uri(&self) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compare` is never used [INFO] [stdout] --> src/model.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 208 | impl TrackOrder { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 209 | pub fn compare(&self, x: &Track, y: &Track) -> std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_from_device` is never used [INFO] [stdout] --> src/model.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 220 | impl Device { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 221 | /// tries to convert from a `rspotify_model::Device` into `Device` [INFO] [stdout] 222 | pub fn try_from_device(device: rspotify_model::Device) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 445 | impl TracksId { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 446 | pub fn new(uri: U, kind: K) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uri_offset` is never used [INFO] [stdout] --> src/model.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 458 | impl Playback { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 459 | /// creates new playback with a specified offset based on the current playback [INFO] [stdout] 460 | pub fn uri_offset(&self, uri: String, limit: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_playback` is never used [INFO] [stdout] --> src/model.rs:489:12 [INFO] [stdout] | [INFO] [stdout] 488 | impl PlaybackMetadata { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 489 | pub fn from_playback(p: &CurrentPlaybackContext) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reorder_playlist_items` and `create_new_playlist` are never used [INFO] [stdout] --> src/client/mod.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 38 | impl Client { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 396 | async fn reorder_playlist_items( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 599 | async fn create_new_playlist( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_uri` is never used [INFO] [stdout] --> src/utils.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse_uri(uri: &str) -> Cow { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `USER_TOP_TRACKS_ID` is never used [INFO] [stdout] --> src/constant.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub static USER_TOP_TRACKS_ID: Lazy = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `USER_RECENTLY_PLAYED_TRACKS_ID` is never used [INFO] [stdout] --> src/constant.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub static USER_RECENTLY_PLAYED_TRACKS_ID: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `USER_LIKED_TRACKS_ID` is never used [INFO] [stdout] --> src/constant.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub static USER_LIKED_TRACKS_ID: Lazy = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CONFIG_FOLDER` is never used [INFO] [stdout] --> src/constant.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const DEFAULT_CONFIG_FOLDER: &str = ".config/spotify-player"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CACHE_FOLDER` is never used [INFO] [stdout] --> src/constant.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const DEFAULT_CACHE_FOLDER: &str = ".cache/spotify-player"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_CONFIG_FILE` is never used [INFO] [stdout] --> src/constant.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const APP_CONFIG_FILE: &str = "app.toml"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Playlist`, `Album`, `Artist`, and `Tracks` are never constructed [INFO] [stdout] --> src/model.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum ContextId { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 42 | Playlist(PlaylistId<'static>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | Album(AlbumId<'static>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | Artist(ArtistId<'static>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | Tracks(TracksId), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContextId` 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: enum `Playback` is never used [INFO] [stdout] --> src/model.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum Playback { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Playback` 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: enum `TrackOrder` is never used [INFO] [stdout] --> src/model.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum TrackOrder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackOrder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Item` is never used [INFO] [stdout] --> src/model.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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 `ItemId` is never used [INFO] [stdout] --> src/model.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | pub enum ItemId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemId` 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: struct `Device` is never constructed [INFO] [stdout] --> src/model.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct Device { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Device` 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: method `uri` is never used [INFO] [stdout] --> src/model.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl ContextId { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 198 | pub fn uri(&self) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compare` is never used [INFO] [stdout] --> src/model.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 208 | impl TrackOrder { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 209 | pub fn compare(&self, x: &Track, y: &Track) -> std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_from_device` is never used [INFO] [stdout] --> src/model.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 220 | impl Device { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 221 | /// tries to convert from a `rspotify_model::Device` into `Device` [INFO] [stdout] 222 | pub fn try_from_device(device: rspotify_model::Device) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 445 | impl TracksId { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 446 | pub fn new(uri: U, kind: K) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uri_offset` is never used [INFO] [stdout] --> src/model.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 458 | impl Playback { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 459 | /// creates new playback with a specified offset based on the current playback [INFO] [stdout] 460 | pub fn uri_offset(&self, uri: String, limit: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_playback` is never used [INFO] [stdout] --> src/model.rs:489:12 [INFO] [stdout] | [INFO] [stdout] 488 | impl PlaybackMetadata { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 489 | pub fn from_playback(p: &CurrentPlaybackContext) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reorder_playlist_items` and `create_new_playlist` are never used [INFO] [stdout] --> src/client/mod.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 38 | impl Client { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 396 | async fn reorder_playlist_items( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 599 | async fn create_new_playlist( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.18s [INFO] running `Command { std: "docker" "inspect" "81f7f2bbf98435aa62db0d065bb62a6f9ef66fe74848dd3b805c0f3a1148d252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81f7f2bbf98435aa62db0d065bb62a6f9ef66fe74848dd3b805c0f3a1148d252", kill_on_drop: false }` [INFO] [stdout] 81f7f2bbf98435aa62db0d065bb62a6f9ef66fe74848dd3b805c0f3a1148d252