[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] testing Phaiax/sl against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhaiax%2Fsl" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Phaiax/sl on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking 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-7/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reqwest v0.9.18 [INFO] [stderr] Downloaded webbrowser v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a40884732353d0c9626426c55e4df77c89170815d15c483210cb5f93f43c50ca [INFO] running `Command { std: "docker" "start" "-a" "a40884732353d0c9626426c55e4df77c89170815d15c483210cb5f93f43c50ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a40884732353d0c9626426c55e4df77c89170815d15c483210cb5f93f43c50ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a40884732353d0c9626426c55e4df77c89170815d15c483210cb5f93f43c50ca", kill_on_drop: false }` [INFO] [stdout] a40884732353d0c9626426c55e4df77c89170815d15c483210cb5f93f43c50ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6970d24963c91df0c7400547eaff91a8b76eec989aad0b07b1c1633e5dff3558 [INFO] running `Command { std: "docker" "start" "-a" "6970d24963c91df0c7400547eaff91a8b76eec989aad0b07b1c1633e5dff3558", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling openssl v0.10.23 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling try-lock v0.1.0 [INFO] [stderr] Compiling derive_builder v0.5.1 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling random v0.12.2 [INFO] [stderr] Compiling webbrowser v0.2.2 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling tokio-trace-core v0.2.0 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling debug_unreachable v0.1.1 [INFO] [stderr] Compiling tendril v0.3.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.30 [INFO] [stderr] Compiling openssl-sys v0.9.47 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling derive_builder_core v0.2.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling h2 v0.1.23 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling string_cache v0.6.2 [INFO] [stderr] Compiling markup5ever v0.3.2 [INFO] [stderr] Compiling html5ever v0.18.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio v0.1.21 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling hyper v0.12.29 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.18 [INFO] [stderr] Compiling select v0.4.2 [INFO] [stderr] Compiling rspotify v0.2.3 (/opt/rustwide/workdir/rspotify) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> rspotify/src/spotify/oauth2.rs:271:66 [INFO] [stdout] | [INFO] [stdout] 271 | eprintln!("couldn't open {}: {:?}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> rspotify/src/spotify/oauth2.rs:278:64 [INFO] [stdout] | [INFO] [stdout] 278 | eprintln!("couldn't read {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> rspotify/src/spotify/oauth2.rs:321:32 [INFO] [stdout] | [INFO] [stdout] 321 | ... why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> rspotify/src/spotify/oauth2.rs:381:32 [INFO] [stdout] | [INFO] [stdout] 381 | ... why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling spotifylyrics v0.1.0 (/opt/rustwide/workdir) [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | write!(&mut as_string, "{} from ", track.name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | std::mem::replace(spotify, connect_to_spotify()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | std::mem::replace(spotify, connect_to_spotify()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | std::mem::replace(spotify, connect_to_spotify()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "6970d24963c91df0c7400547eaff91a8b76eec989aad0b07b1c1633e5dff3558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6970d24963c91df0c7400547eaff91a8b76eec989aad0b07b1c1633e5dff3558", kill_on_drop: false }` [INFO] [stdout] 6970d24963c91df0c7400547eaff91a8b76eec989aad0b07b1c1633e5dff3558 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8a820b444819a061929e63fe857a5a630530b901e7bf5cb4a9a2efc4a595bda [INFO] running `Command { std: "docker" "start" "-a" "a8a820b444819a061929e63fe857a5a630530b901e7bf5cb4a9a2efc4a595bda", kill_on_drop: false }` [INFO] [stderr] Compiling spotifylyrics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> rspotify/src/spotify/oauth2.rs:271:66 [INFO] [stdout] | [INFO] [stdout] 271 | eprintln!("couldn't open {}: {:?}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> rspotify/src/spotify/oauth2.rs:278:64 [INFO] [stdout] | [INFO] [stdout] 278 | eprintln!("couldn't read {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> rspotify/src/spotify/oauth2.rs:321:32 [INFO] [stdout] | [INFO] [stdout] 321 | ... why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> rspotify/src/spotify/oauth2.rs:381:32 [INFO] [stdout] | [INFO] [stdout] 381 | ... why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | write!(&mut as_string, "{} from ", track.name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | std::mem::replace(spotify, connect_to_spotify()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | std::mem::replace(spotify, connect_to_spotify()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | std::mem::replace(spotify, connect_to_spotify()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "a8a820b444819a061929e63fe857a5a630530b901e7bf5cb4a9a2efc4a595bda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8a820b444819a061929e63fe857a5a630530b901e7bf5cb4a9a2efc4a595bda", kill_on_drop: false }` [INFO] [stdout] a8a820b444819a061929e63fe857a5a630530b901e7bf5cb4a9a2efc4a595bda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ba1d8ae43a107c51517ac2c81ee86bbb31fe8d8c55f2b672ee3e68defa0033d6 [INFO] running `Command { std: "docker" "start" "-a" "ba1d8ae43a107c51517ac2c81ee86bbb31fe8d8c55f2b672ee3e68defa0033d6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> rspotify/src/spotify/oauth2.rs:271:66 [INFO] [stderr] | [INFO] [stderr] 271 | eprintln!("couldn't open {}: {:?}", display, why.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> rspotify/src/spotify/oauth2.rs:278:64 [INFO] [stderr] | [INFO] [stderr] 278 | eprintln!("couldn't read {}: {}", display, why.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> rspotify/src/spotify/oauth2.rs:321:32 [INFO] [stderr] | [INFO] [stderr] 321 | ... why.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> rspotify/src/spotify/oauth2.rs:381:32 [INFO] [stderr] | [INFO] [stderr] 381 | ... why.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rspotify` (lib) generated 4 warnings [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] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:126:17 [INFO] [stderr] | [INFO] [stderr] 126 | write!(&mut as_string, "{} from ", track.name); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/main.rs:144:17 [INFO] [stderr] | [INFO] [stderr] 144 | std::mem::replace(spotify, connect_to_spotify()?); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/main.rs:153:21 [INFO] [stderr] | [INFO] [stderr] 153 | std::mem::replace(spotify, connect_to_spotify()?); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/main.rs:162:17 [INFO] [stderr] | [INFO] [stderr] 162 | std::mem::replace(spotify, connect_to_spotify()?); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: `spotifylyrics` (bin "spotifylyrics" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.69s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/spotifylyrics-beb09c6931e3a418) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ba1d8ae43a107c51517ac2c81ee86bbb31fe8d8c55f2b672ee3e68defa0033d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba1d8ae43a107c51517ac2c81ee86bbb31fe8d8c55f2b672ee3e68defa0033d6", kill_on_drop: false }` [INFO] [stdout] ba1d8ae43a107c51517ac2c81ee86bbb31fe8d8c55f2b672ee3e68defa0033d6