[INFO] cloning repository https://github.com/Phaiax/sl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Phaiax/sl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhaiax%2Fsl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhaiax%2Fsl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa15e3f76a66361c49ee1441757e19486f011fa2 [INFO] checking Phaiax/sl against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhaiax%2Fsl" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Phaiax/sl on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Phaiax/sl [INFO] removed path dependency rspotify from git repo https://github.com/Phaiax/sl [INFO] finished tweaking git repo https://github.com/Phaiax/sl [INFO] tweaked toml for git repo https://github.com/Phaiax/sl written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Phaiax/sl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (rspotify) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (rspotify) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 157ff29717a3f801b9fdb658779572a5c6593813528426f9c21ff9668f6b526a [INFO] running `Command { std: "docker" "start" "-a" "157ff29717a3f801b9fdb658779572a5c6593813528426f9c21ff9668f6b526a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "157ff29717a3f801b9fdb658779572a5c6593813528426f9c21ff9668f6b526a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "157ff29717a3f801b9fdb658779572a5c6593813528426f9c21ff9668f6b526a", kill_on_drop: false }` [INFO] [stdout] 157ff29717a3f801b9fdb658779572a5c6593813528426f9c21ff9668f6b526a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 066072a2e0ba195b5b6c11329e511b0848b8eefc9cffedb2020c195c1da6c653 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "066072a2e0ba195b5b6c11329e511b0848b8eefc9cffedb2020c195c1da6c653", kill_on_drop: false }` [INFO] [stderr] warning: dependency (rspotify) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking random v0.12.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking miniz_oxide v0.4.3 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking tendril v0.4.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking publicsuffix v1.5.4 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Compiling html5ever v0.23.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Checking dotenv v0.13.0 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking tokio-socks v0.3.0 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Compiling markup5ever v0.8.1 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking select v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking rspotify v0.10.0 [INFO] [stderr] Checking spotifylyrics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `spotify` in `rspotify` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::spotify::client::Spotify; [INFO] [stdout] | ^^^^^^^ could not find `spotify` in `rspotify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spotify` in `rspotify` [INFO] [stdout] --> src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use rspotify::spotify::util::get_token; [INFO] [stdout] | ^^^^^^^ could not find `spotify` in `rspotify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spotify` in `rspotify` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use rspotify::spotify::oauth2::{SpotifyClientCredentials, SpotifyOAuth}; [INFO] [stdout] | ^^^^^^^ could not find `spotify` in `rspotify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spotify` in `rspotify` [INFO] [stdout] --> src/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use rspotify::spotify::model::artist::SimplifiedArtist; [INFO] [stdout] | ^^^^^^^ could not find `spotify` in `rspotify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spotify` in `rspotify` [INFO] [stdout] --> src/main.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use rspotify::spotify::senum::Country; [INFO] [stdout] | ^^^^^^^ could not find `spotify` in `rspotify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Country` [INFO] [stdout] --> src/main.rs:113:50 [INFO] [stdout] | [INFO] [stdout] 113 | let currently = spotify.current_playing(Some(Country::Germany)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Country` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spotify` in this scope [INFO] [stdout] --> src/main.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | fn connect_to_spotify() -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::client::Spotify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpotifyOAuth` [INFO] [stdout] --> src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let mut oauth = SpotifyOAuth::default() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::oauth2::SpotifyOAuth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_token` in this scope [INFO] [stdout] --> src/main.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | match get_token(&mut oauth) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::util::get_token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpotifyClientCredentials` [INFO] [stdout] --> src/main.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | let client_credential = SpotifyClientCredentials::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::oauth2::SpotifyClientCredentials; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Spotify` [INFO] [stdout] --> src/main.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | Ok(Spotify::default() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::client::Spotify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spotify` in this scope [INFO] [stdout] --> src/main.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | fn get_current_song(spotify : &mut Spotify) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::client::Spotify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SimplifiedArtist` in this scope [INFO] [stdout] --> src/main.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | let l : &[SimplifiedArtist] = track.artists.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::model::artist::SimplifiedArtist; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Error as ReqwestError` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use reqwest::Error as ReqwestError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spotify` in `rspotify` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::spotify::client::Spotify; [INFO] [stdout] | ^^^^^^^ could not find `spotify` in `rspotify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spotify` in `rspotify` [INFO] [stdout] --> src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use rspotify::spotify::util::get_token; [INFO] [stdout] | ^^^^^^^ could not find `spotify` in `rspotify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spotify` in `rspotify` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use rspotify::spotify::oauth2::{SpotifyClientCredentials, SpotifyOAuth}; [INFO] [stdout] | ^^^^^^^ could not find `spotify` in `rspotify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spotify` in `rspotify` [INFO] [stdout] --> src/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use rspotify::spotify::model::artist::SimplifiedArtist; [INFO] [stdout] | ^^^^^^^ could not find `spotify` in `rspotify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spotify` in `rspotify` [INFO] [stdout] --> src/main.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use rspotify::spotify::senum::Country; [INFO] [stdout] | ^^^^^^^ could not find `spotify` in `rspotify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Country` [INFO] [stdout] --> src/main.rs:113:50 [INFO] [stdout] | [INFO] [stdout] 113 | let currently = spotify.current_playing(Some(Country::Germany)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Country` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spotify` in this scope [INFO] [stdout] --> src/main.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | fn connect_to_spotify() -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::client::Spotify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpotifyOAuth` [INFO] [stdout] --> src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let mut oauth = SpotifyOAuth::default() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::oauth2::SpotifyOAuth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_token` in this scope [INFO] [stdout] --> src/main.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | match get_token(&mut oauth) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::util::get_token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpotifyClientCredentials` [INFO] [stdout] --> src/main.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | let client_credential = SpotifyClientCredentials::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::oauth2::SpotifyClientCredentials; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Spotify` [INFO] [stdout] --> src/main.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | Ok(Spotify::default() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::client::Spotify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Spotify` in this scope [INFO] [stdout] --> src/main.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | fn get_current_song(spotify : &mut Spotify) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::client::Spotify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SimplifiedArtist` in this scope [INFO] [stdout] --> src/main.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | let l : &[SimplifiedArtist] = track.artists.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::model::artist::SimplifiedArtist; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Error as ReqwestError` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use reqwest::Error as ReqwestError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spotifylyrics` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "066072a2e0ba195b5b6c11329e511b0848b8eefc9cffedb2020c195c1da6c653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "066072a2e0ba195b5b6c11329e511b0848b8eefc9cffedb2020c195c1da6c653", kill_on_drop: false }` [INFO] [stdout] 066072a2e0ba195b5b6c11329e511b0848b8eefc9cffedb2020c195c1da6c653