[INFO] updating cached repository https://github.com/Phaiax/sl
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] aa15e3f76a66361c49ee1441757e19486f011fa2
[INFO] checking Phaiax/sl against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhaiax%2Fsl" "/workspace/builds/worker-4/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Phaiax/sl on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-4/source/Cargo.toml
[INFO] crate git repo https://github.com/Phaiax/sl already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-4/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 `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 08836b1cd9d96059040e0b7b0f8da2b2c3e68e381ba29101d8469aa7090993ab
[INFO] running `"docker" "start" "-a" "08836b1cd9d96059040e0b7b0f8da2b2c3e68e381ba29101d8469aa7090993ab"`
[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 semver-parser v0.7.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking webbrowser v0.5.2
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking tokio v0.2.17
[INFO] [stderr]    Compiling thiserror-impl v1.0.15
[INFO] [stderr]    Compiling string_cache_codegen v0.4.4
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]     Checking serde_urlencoded v0.5.5
[INFO] [stderr]     Checking dotenv v0.13.0
[INFO] [stderr]     Checking cookie_store v0.7.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling string_cache v0.7.5
[INFO] [stderr]    Compiling markup5ever v0.8.1
[INFO] [stderr]     Checking openssl v0.10.29
[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]     Checking thiserror v1.0.15
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking tokio-socks v0.2.2
[INFO] [stderr]     Checking h2 v0.2.4
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking native-tls v0.2.4
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking tokio-tls v0.3.0
[INFO] [stderr]    Compiling darling_core v0.9.0
[INFO] [stderr]     Checking hyper v0.13.4
[INFO] [stderr]    Compiling html5ever v0.23.0
[INFO] [stderr]     Checking hyper-tls v0.3.2
[INFO] [stderr]    Compiling darling_macro v0.9.0
[INFO] [stderr]     Checking reqwest v0.9.24
[INFO] [stderr]     Checking hyper-tls v0.4.1
[INFO] [stderr]    Compiling darling v0.9.0
[INFO] [stderr]    Compiling derive_builder_core v0.5.0
[INFO] [stderr]     Checking reqwest v0.10.4
[INFO] [stderr]    Compiling derive_builder v0.7.2
[INFO] [stderr]     Checking select v0.4.3
[INFO] [stderr]     Checking rspotify v0.9.0
[INFO] [stderr]     Checking spotifylyrics v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `spotify` in `rspotify`
[INFO] [stderr]  --> src/main.rs:2:15
[INFO] [stderr]   |
[INFO] [stderr] 2 | use rspotify::spotify::client::Spotify;
[INFO] [stderr]   |               ^^^^^^^ could not find `spotify` in `rspotify`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `spotify` in `rspotify`
[INFO] [stderr]  --> src/main.rs:3:15
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rspotify::spotify::util::get_token;
[INFO] [stderr]   |               ^^^^^^^ could not find `spotify` in `rspotify`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `spotify` in `rspotify`
[INFO] [stderr]  --> src/main.rs:4:15
[INFO] [stderr]   |
[INFO] [stderr] 4 | use rspotify::spotify::oauth2::{SpotifyClientCredentials, SpotifyOAuth};
[INFO] [stderr]   |               ^^^^^^^ could not find `spotify` in `rspotify`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `spotify` in `rspotify`
[INFO] [stderr]   --> src/main.rs:11:15
[INFO] [stderr]    |
[INFO] [stderr] 11 | use rspotify::spotify::model::artist::SimplifiedArtist;
[INFO] [stderr]    |               ^^^^^^^ could not find `spotify` in `rspotify`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `spotify` in `rspotify`
[INFO] [stderr]   --> src/main.rs:12:15
[INFO] [stderr]    |
[INFO] [stderr] 12 | use rspotify::spotify::senum::Country;
[INFO] [stderr]    |               ^^^^^^^ could not find `spotify` in `rspotify`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SpotifyOAuth`
[INFO] [stderr]   --> src/main.rs:86:21
[INFO] [stderr]    |
[INFO] [stderr] 86 |     let mut oauth = SpotifyOAuth::default()
[INFO] [stderr]    |                     ^^^^^^^^^^^^ use of undeclared type or module `SpotifyOAuth`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SpotifyClientCredentials`
[INFO] [stderr]   --> src/main.rs:92:37
[INFO] [stderr]    |
[INFO] [stderr] 92 |             let client_credential = SpotifyClientCredentials::default()
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `SpotifyClientCredentials`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Spotify`
[INFO] [stderr]   --> src/main.rs:96:16
[INFO] [stderr]    |
[INFO] [stderr] 96 |             Ok(Spotify::default()
[INFO] [stderr]    |                ^^^^^^^ use of undeclared type or module `Spotify`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Country`
[INFO] [stderr]    --> src/main.rs:113:50
[INFO] [stderr]     |
[INFO] [stderr] 113 |     let currently = spotify.current_playing(Some(Country::Germany));
[INFO] [stderr]     |                                                  ^^^^^^^ use of undeclared type or module `Country`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Spotify` in this scope
[INFO] [stderr]   --> src/main.rs:85:35
[INFO] [stderr]    |
[INFO] [stderr] 85 | fn connect_to_spotify() -> Result<Spotify, Error> {
[INFO] [stderr]    |                                   ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 2  | use rspotify::client::Spotify;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 85 | fn connect_to_spotify<Spotify>() -> Result<Spotify, Error> {
[INFO] [stderr]    |                      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `get_token` in this scope
[INFO] [stderr]   --> src/main.rs:90:11
[INFO] [stderr]    |
[INFO] [stderr] 90 |     match get_token(&mut oauth) {
[INFO] [stderr]    |           ^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 2  | use rspotify::util::get_token;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Spotify` in this scope
[INFO] [stderr]    --> src/main.rs:111:36
[INFO] [stderr]     |
[INFO] [stderr] 111 | fn get_current_song(spotify : &mut Spotify) -> Result<Option<SongInfo>, Error> {
[INFO] [stderr]     |                                    ^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 2   | use rspotify::client::Spotify;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SimplifiedArtist` in this scope
[INFO] [stderr]    --> src/main.rs:128:27
[INFO] [stderr]     |
[INFO] [stderr] 128 |                 let l : &[SimplifiedArtist] = track.artists.as_ref();
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 2   | use rspotify::model::artist::SimplifiedArtist;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `reqwest::Error as ReqwestError`
[INFO] [stderr]   --> src/main.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | use reqwest::Error as ReqwestError;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `spotify` in `rspotify`
[INFO] [stderr]  --> src/main.rs:2:15
[INFO] [stderr]   |
[INFO] [stderr] 2 | use rspotify::spotify::client::Spotify;
[INFO] [stderr]   |               ^^^^^^^ could not find `spotify` in `rspotify`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `spotify` in `rspotify`
[INFO] [stderr]  --> src/main.rs:3:15
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rspotify::spotify::util::get_token;
[INFO] [stderr]   |               ^^^^^^^ could not find `spotify` in `rspotify`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `spotify` in `rspotify`
[INFO] [stderr]  --> src/main.rs:4:15
[INFO] [stderr]   |
[INFO] [stderr] 4 | use rspotify::spotify::oauth2::{SpotifyClientCredentials, SpotifyOAuth};
[INFO] [stderr]   |               ^^^^^^^ could not find `spotify` in `rspotify`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `spotify` in `rspotify`
[INFO] [stderr]   --> src/main.rs:11:15
[INFO] [stderr]    |
[INFO] [stderr] 11 | use rspotify::spotify::model::artist::SimplifiedArtist;
[INFO] [stderr]    |               ^^^^^^^ could not find `spotify` in `rspotify`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `spotify` in `rspotify`
[INFO] [stderr]   --> src/main.rs:12:15
[INFO] [stderr]    |
[INFO] [stderr] 12 | use rspotify::spotify::senum::Country;
[INFO] [stderr]    |               ^^^^^^^ could not find `spotify` in `rspotify`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SpotifyOAuth`
[INFO] [stderr]   --> src/main.rs:86:21
[INFO] [stderr]    |
[INFO] [stderr] 86 |     let mut oauth = SpotifyOAuth::default()
[INFO] [stderr]    |                     ^^^^^^^^^^^^ use of undeclared type or module `SpotifyOAuth`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SpotifyClientCredentials`
[INFO] [stderr]   --> src/main.rs:92:37
[INFO] [stderr]    |
[INFO] [stderr] 92 |             let client_credential = SpotifyClientCredentials::default()
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `SpotifyClientCredentials`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Spotify`
[INFO] [stderr]   --> src/main.rs:96:16
[INFO] [stderr]    |
[INFO] [stderr] 96 |             Ok(Spotify::default()
[INFO] [stderr]    |                ^^^^^^^ use of undeclared type or module `Spotify`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Country`
[INFO] [stderr]    --> src/main.rs:113:50
[INFO] [stderr]     |
[INFO] [stderr] 113 |     let currently = spotify.current_playing(Some(Country::Germany));
[INFO] [stderr]     |                                                  ^^^^^^^ use of undeclared type or module `Country`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Spotify` in this scope
[INFO] [stderr]   --> src/main.rs:85:35
[INFO] [stderr]    |
[INFO] [stderr] 85 | fn connect_to_spotify() -> Result<Spotify, Error> {
[INFO] [stderr]    |                                   ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 2  | use rspotify::client::Spotify;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 85 | fn connect_to_spotify<Spotify>() -> Result<Spotify, Error> {
[INFO] [stderr]    |                      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `get_token` in this scope
[INFO] [stderr]   --> src/main.rs:90:11
[INFO] [stderr]    |
[INFO] [stderr] 90 |     match get_token(&mut oauth) {
[INFO] [stderr]    |           ^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 2  | use rspotify::util::get_token;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Spotify` in this scope
[INFO] [stderr]    --> src/main.rs:111:36
[INFO] [stderr]     |
[INFO] [stderr] 111 | fn get_current_song(spotify : &mut Spotify) -> Result<Option<SongInfo>, Error> {
[INFO] [stderr]     |                                    ^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 2   | use rspotify::client::Spotify;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SimplifiedArtist` in this scope
[INFO] [stderr]    --> src/main.rs:128:27
[INFO] [stderr]     |
[INFO] [stderr] 128 |                 let l : &[SimplifiedArtist] = track.artists.as_ref();
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 2   | use rspotify::model::artist::SimplifiedArtist;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `reqwest::Error as ReqwestError`
[INFO] [stderr]   --> src/main.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | use reqwest::Error as ReqwestError;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 13 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[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] [stderr] error: aborting due to 13 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `spotifylyrics`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "08836b1cd9d96059040e0b7b0f8da2b2c3e68e381ba29101d8469aa7090993ab"`
[INFO] running `"docker" "rm" "-f" "08836b1cd9d96059040e0b7b0f8da2b2c3e68e381ba29101d8469aa7090993ab"`
[INFO] [stdout] 08836b1cd9d96059040e0b7b0f8da2b2c3e68e381ba29101d8469aa7090993ab
