[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] testing Phaiax/sl against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhaiax%2Fsl" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Phaiax/sl on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-8/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" "+beta-2020-06-03" "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] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aeb9130724b70262b306c211f1b927422aa76d4ca35b8512b0778a116b743b9d [INFO] running `"docker" "start" "-a" "aeb9130724b70262b306c211f1b927422aa76d4ca35b8512b0778a116b743b9d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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] Compiling syn v0.15.44 [INFO] [stderr] Compiling webbrowser v0.5.2 [INFO] [stderr] Compiling random v0.12.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling html5ever v0.23.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling pin-project-internal v0.4.19 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling thiserror v1.0.19 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling pin-project v0.4.19 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-socks v0.2.2 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling markup5ever v0.8.1 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling rspotify v0.9.0 [INFO] [stderr] Compiling select v0.4.3 [INFO] [stderr] Compiling 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 { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 2 | use rspotify::client::Spotify; [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: consider importing this function [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, Error> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [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: consider importing this struct [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; 1 warning emitted [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" "aeb9130724b70262b306c211f1b927422aa76d4ca35b8512b0778a116b743b9d"` [INFO] running `"docker" "rm" "-f" "aeb9130724b70262b306c211f1b927422aa76d4ca35b8512b0778a116b743b9d"` [INFO] [stdout] aeb9130724b70262b306c211f1b927422aa76d4ca35b8512b0778a116b743b9d