[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] building wuliao97/spotify-client-rs against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwuliao97%2Fspotify-client-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wuliao97/spotify-client-rs on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "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-0-tc2/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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] acf425d4d66d5c49cd37a39e05b8b4b875a38f0e452fe7eebb1432ece1570ce5
[INFO] running `Command { std: "docker" "start" "-a" "acf425d4d66d5c49cd37a39e05b8b4b875a38f0e452fe7eebb1432ece1570ce5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "acf425d4d66d5c49cd37a39e05b8b4b875a38f0e452fe7eebb1432ece1570ce5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "acf425d4d66d5c49cd37a39e05b8b4b875a38f0e452fe7eebb1432ece1570ce5", kill_on_drop: false }`
[INFO] [stdout] acf425d4d66d5c49cd37a39e05b8b4b875a38f0e452fe7eebb1432ece1570ce5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0778a5d6a2939a0fe0a83b3b3527b47e5b7220776f7faa15022d61873941c535
[INFO] running `Command { std: "docker" "start" "-a" "0778a5d6a2939a0fe0a83b3b3527b47e5b7220776f7faa15022d61873941c535", 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]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling miniz_oxide v0.7.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling syn v2.0.65
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling thread-id v4.2.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling cipher v0.2.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling crypto-mac v0.11.1
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling aes-soft v0.6.4
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling priority-queue v1.4.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling hmac v0.11.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling headers v0.3.9
[INFO] [stderr]    Compiling pbkdf2 v0.8.0
[INFO] [stderr]    Compiling aes v0.6.0
[INFO] [stderr]    Compiling uuid v1.8.0
[INFO] [stderr]    Compiling shannon v0.2.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling vergen v3.2.0
[INFO] [stderr]    Compiling num-bigint v0.4.5
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling ctr v0.6.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling http-body-util v0.1.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling aes-ctr v0.6.0
[INFO] [stderr]    Compiling rustls-pki-types v1.7.0
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling librespot-core v0.4.2
[INFO] [stderr]    Compiling nix v0.23.2
[INFO] [stderr]    Compiling ogg v0.8.0
[INFO] [stderr]    Compiling rustls-pemfile v2.1.2
[INFO] [stderr]    Compiling if-addrs v0.7.0
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling winnow v0.6.8
[INFO] [stderr]    Compiling lewton v0.10.2
[INFO] [stderr]    Compiling anstyle-parse v0.2.4
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling parking_lot v0.12.2
[INFO] [stderr]    Compiling shell-words v1.1.0
[INFO] [stderr]    Compiling anstyle-query v1.0.3
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.0
[INFO] [stderr]    Compiling colorchoice v1.0.1
[INFO] [stderr]    Compiling anstyle v1.0.7
[INFO] [stderr]    Compiling anstream v0.6.14
[INFO] [stderr]    Compiling protobuf-codegen v2.28.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling rspotify-macros v0.13.1
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling ttl_cache v0.5.1
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling protobuf-codegen-pure v2.28.0
[INFO] [stderr]    Compiling regex-automata v0.4.6
[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]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling strum_macros v0.26.2
[INFO] [stderr]    Compiling zerocopy-derive v0.6.6
[INFO] [stderr]    Compiling maybe-async v0.2.10
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling enum_dispatch v0.3.13
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling config_parser_derive v0.1.3
[INFO] [stderr]    Compiling librespot-protocol v0.4.2
[INFO] [stderr]    Compiling zerocopy v0.6.6
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling strum v0.26.2
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling env_filter v0.1.0
[INFO] [stderr]    Compiling env_logger v0.11.3
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-socks v0.5.1
[INFO] [stderr]    Compiling h2 v0.4.5
[INFO] [stderr]    Compiling serde_spanned v0.6.6
[INFO] [stderr]    Compiling toml_datetime v0.6.6
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling libmdns v0.7.5
[INFO] [stderr]    Compiling toml_edit v0.22.13
[INFO] [stderr]    Compiling rspotify-model v0.13.1
[INFO] [stderr]    Compiling hyper-proxy v0.9.1
[INFO] [stderr]    Compiling toml v0.8.13
[INFO] [stderr]    Compiling config_parser2 v0.1.5
[INFO] [stderr]    Compiling librespot-metadata v0.4.2
[INFO] [stderr]    Compiling librespot-audio v0.4.2
[INFO] [stderr]    Compiling librespot-discovery v0.4.2
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling librespot-playback v0.4.2
[INFO] [stderr]    Compiling hyper-util v0.1.3
[INFO] [stderr]    Compiling librespot-connect v0.4.2
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.4
[INFO] [stderr]    Compiling rspotify-http v0.13.1
[INFO] [stderr]    Compiling rspotify v0.13.1
[INFO] [stderr]    Compiling 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 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<Session> {
[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<str> {
[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<TracksId> =
[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<TracksId> = 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<TracksId> =
[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<Self> {
[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<U, K>(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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] running `Command { std: "docker" "inspect" "0778a5d6a2939a0fe0a83b3b3527b47e5b7220776f7faa15022d61873941c535", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0778a5d6a2939a0fe0a83b3b3527b47e5b7220776f7faa15022d61873941c535", kill_on_drop: false }`
[INFO] [stdout] 0778a5d6a2939a0fe0a83b3b3527b47e5b7220776f7faa15022d61873941c535
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0ccb8fcd7a6b87088eb6dd227b3f8c4027c835e3a31526fc80ae3e773676b3f5
[INFO] running `Command { std: "docker" "start" "-a" "0ccb8fcd7a6b87088eb6dd227b3f8c4027c835e3a31526fc80ae3e773676b3f5", kill_on_drop: false }`
[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<Session> {
[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<str> {
[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<TracksId> =
[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<TracksId> = 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<TracksId> =
[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<Self> {
[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<U, K>(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] [stderr]    Compiling 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 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<Session> {
[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<str> {
[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<TracksId> =
[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<TracksId> = 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<TracksId> =
[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<Self> {
[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<U, K>(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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 9.62s
[INFO] running `Command { std: "docker" "inspect" "0ccb8fcd7a6b87088eb6dd227b3f8c4027c835e3a31526fc80ae3e773676b3f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ccb8fcd7a6b87088eb6dd227b3f8c4027c835e3a31526fc80ae3e773676b3f5", kill_on_drop: false }`
[INFO] [stdout] 0ccb8fcd7a6b87088eb6dd227b3f8c4027c835e3a31526fc80ae3e773676b3f5
