[INFO] updating cached repository https://github.com/Phaiax/sl [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa15e3f76a66361c49ee1441757e19486f011fa2 [INFO] testing Phaiax/sl against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhaiax%2Fsl" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Phaiax/sl on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-12/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" "+1.45.2" "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-12/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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fceb56916f1445505ecdb3ba36f1e4bddf9acb4eac59c849e0782def28eff76 [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" "4fceb56916f1445505ecdb3ba36f1e4bddf9acb4eac59c849e0782def28eff76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fceb56916f1445505ecdb3ba36f1e4bddf9acb4eac59c849e0782def28eff76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fceb56916f1445505ecdb3ba36f1e4bddf9acb4eac59c849e0782def28eff76", kill_on_drop: false }` [INFO] [stdout] 4fceb56916f1445505ecdb3ba36f1e4bddf9acb4eac59c849e0782def28eff76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78fa07137662c570a393d4fe40dd0a61442b13185b208e2cbfb139b96b83b2a4 [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" "78fa07137662c570a393d4fe40dd0a61442b13185b208e2cbfb139b96b83b2a4", 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 ipnet v2.3.0 [INFO] [stderr] Compiling tracing-core v0.1.13 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling darling_macro v0.9.0 [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 v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling tokio-socks v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling hyper-tls v0.3.2 [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 hyper v0.13.7 [INFO] [stderr] Compiling html5ever v0.23.0 [INFO] [stderr] Compiling select v0.4.3 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.7 [INFO] [stderr] Compiling rspotify v0.10.0 [INFO] [stderr] Compiling 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 or module `SpotifyOAuth` [INFO] [stdout] --> src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let mut oauth = SpotifyOAuth::default() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `SpotifyOAuth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SpotifyClientCredentials` [INFO] [stdout] --> src/main.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | let client_credential = SpotifyClientCredentials::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `SpotifyClientCredentials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Spotify` [INFO] [stdout] --> src/main.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | Ok(Spotify::default() [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Spotify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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[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[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] running `Command { std: "docker" "inspect" "78fa07137662c570a393d4fe40dd0a61442b13185b208e2cbfb139b96b83b2a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78fa07137662c570a393d4fe40dd0a61442b13185b208e2cbfb139b96b83b2a4", kill_on_drop: false }` [INFO] [stdout] 78fa07137662c570a393d4fe40dd0a61442b13185b208e2cbfb139b96b83b2a4