[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhaiax%2Fsl" "/workspace/builds/worker-4/source", kill_on_drop: false }` [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 beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-4/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" "+beta" "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-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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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" "+beta" "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-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" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1f1223b256cf26a56d9752534b8f97175b40b049af66ffafe5955f02d39334b [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" "e1f1223b256cf26a56d9752534b8f97175b40b049af66ffafe5955f02d39334b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1f1223b256cf26a56d9752534b8f97175b40b049af66ffafe5955f02d39334b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1f1223b256cf26a56d9752534b8f97175b40b049af66ffafe5955f02d39334b", kill_on_drop: false }` [INFO] [stdout] e1f1223b256cf26a56d9752534b8f97175b40b049af66ffafe5955f02d39334b [INFO] running `Command { std: "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" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24e21738642218622b664f4c905973ae69bfb02867cdb2d630102ce334e4e3b0 [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" "24e21738642218622b664f4c905973ae69bfb02867cdb2d630102ce334e4e3b0", 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] Checking random v0.12.2 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Checking dotenv v0.13.0 [INFO] [stderr] Checking string_cache v0.7.5 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling markup5ever v0.8.1 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking tokio-socks v0.2.2 [INFO] [stderr] Checking html5ever v0.23.0 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Checking select v0.4.3 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.8 [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" "24e21738642218622b664f4c905973ae69bfb02867cdb2d630102ce334e4e3b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24e21738642218622b664f4c905973ae69bfb02867cdb2d630102ce334e4e3b0", kill_on_drop: false }` [INFO] [stdout] 24e21738642218622b664f4c905973ae69bfb02867cdb2d630102ce334e4e3b0