[INFO] fetching crate rspotifys 0.13.0... [INFO] building rspotifys-0.13.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate rspotifys 0.13.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rspotifys 0.13.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rspotifys 0.13.0 [INFO] tweaked toml for crates.io crate rspotifys 0.13.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rspotifys 0.13.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rspotifys 0.13.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.26.1 [INFO] [stderr] Downloaded rspotify-macros v0.13.0 [INFO] [stderr] Downloaded strum v0.26.1 [INFO] [stderr] Downloaded enum_dispatch v0.3.12 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.42 [INFO] [stderr] Downloaded dotenvy_macro v0.15.7 [INFO] [stderr] Downloaded base64 v0.22.0 [INFO] [stderr] Downloaded rustls-pemfile v2.1.1 [INFO] [stderr] Downloaded rustls-native-certs v0.7.0 [INFO] [stderr] Downloaded cookie_store v0.21.0 [INFO] [stderr] Downloaded ureq v2.9.6 [INFO] [stderr] Downloaded openssl-sys v0.9.101 [INFO] [stderr] Downloaded rustls-pki-types v1.3.1 [INFO] [stderr] Downloaded webbrowser v0.8.13 [INFO] [stderr] Downloaded reqwest v0.11.24 [INFO] [stderr] Downloaded rustls-webpki v0.102.2 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Downloaded webpki-roots v0.26.1 [INFO] [stderr] Downloaded rustls v0.22.2 [INFO] [stderr] Downloaded rspotify-http v0.13.0 [INFO] [stderr] Downloaded openssl-src v300.2.3+3.2.1 [INFO] [stderr] Downloaded rspotify-model v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf7357f62963f25934faf63644ae8276533e6b7329a9f284823358173f3e27a1 [INFO] running `Command { std: "docker" "start" "-a" "bf7357f62963f25934faf63644ae8276533e6b7329a9f284823358173f3e27a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf7357f62963f25934faf63644ae8276533e6b7329a9f284823358173f3e27a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf7357f62963f25934faf63644ae8276533e6b7329a9f284823358173f3e27a1", kill_on_drop: false }` [INFO] [stdout] bf7357f62963f25934faf63644ae8276533e6b7329a9f284823358173f3e27a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22beea3c28f44f3cde58a6c0e3f7e58b6b5c63f896e24321e8f57d755a8a27ef [INFO] running `Command { std: "docker" "start" "-a" "22beea3c28f44f3cde58a6c0e3f7e58b6b5c63f896e24321e8f57d755a8a27ef", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling rspotify-macros v0.13.0 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Compiling enum_dispatch v0.3.12 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling strum v0.26.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling tokio-socks v0.5.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling rspotify-model v0.13.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.24 [INFO] [stderr] Compiling rspotify-http v0.13.0 [INFO] [stderr] Compiling rspotifys v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:287:20 [INFO] [stdout] | [INFO] [stdout] 283 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 284 | artist_id: ArtistId<'a>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 287 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 287 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 287 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:464:20 [INFO] [stdout] | [INFO] [stdout] 461 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 462 | album_id: AlbumId<'a>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 463 | market: Option, [INFO] [stdout] 464 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 464 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 464 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:633:20 [INFO] [stdout] | [INFO] [stdout] 630 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 631 | id: ShowId<'a>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 632 | market: Option, [INFO] [stdout] 633 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 633 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 633 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:770:20 [INFO] [stdout] | [INFO] [stdout] 767 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 768 | locale: Option<&'a str>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 769 | country: Option, [INFO] [stdout] 770 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 770 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 770 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:815:20 [INFO] [stdout] | [INFO] [stdout] 812 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 813 | category_id: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 814 | country: Option, [INFO] [stdout] 815 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 815 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 815 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:1000:20 [INFO] [stdout] | [INFO] [stdout] 996 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 997 | playlist_id: PlaylistId<'a>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 998 | fields: Option<&'a str>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 999 | market: Option, [INFO] [stdout] 1000 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1000 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 1000 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:1053:20 [INFO] [stdout] | [INFO] [stdout] 1051 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 1052 | user_id: UserId<'a>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 1053 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1053 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 1053 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.52s [INFO] running `Command { std: "docker" "inspect" "22beea3c28f44f3cde58a6c0e3f7e58b6b5c63f896e24321e8f57d755a8a27ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22beea3c28f44f3cde58a6c0e3f7e58b6b5c63f896e24321e8f57d755a8a27ef", kill_on_drop: false }` [INFO] [stdout] 22beea3c28f44f3cde58a6c0e3f7e58b6b5c63f896e24321e8f57d755a8a27ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72c26fd20f48d968bd7f61aedae3b19ba3d27388a39c87e336a4751c046461d7 [INFO] running `Command { std: "docker" "start" "-a" "72c26fd20f48d968bd7f61aedae3b19ba3d27388a39c87e336a4751c046461d7", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Compiling enum_dispatch v0.3.12 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling strum v0.26.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling js-sys v0.3.69 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-socks v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.42 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.42 [INFO] [stderr] Compiling rspotify-model v0.13.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.24 [INFO] [stderr] Compiling rspotify-http v0.13.0 [INFO] [stderr] Compiling rspotifys v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:287:20 [INFO] [stdout] | [INFO] [stdout] 283 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 284 | artist_id: ArtistId<'a>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 287 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 287 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 287 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:464:20 [INFO] [stdout] | [INFO] [stdout] 461 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 462 | album_id: AlbumId<'a>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 463 | market: Option, [INFO] [stdout] 464 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 464 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 464 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:633:20 [INFO] [stdout] | [INFO] [stdout] 630 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 631 | id: ShowId<'a>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 632 | market: Option, [INFO] [stdout] 633 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 633 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 633 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:770:20 [INFO] [stdout] | [INFO] [stdout] 767 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 768 | locale: Option<&'a str>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 769 | country: Option, [INFO] [stdout] 770 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 770 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 770 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:815:20 [INFO] [stdout] | [INFO] [stdout] 812 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 813 | category_id: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 814 | country: Option, [INFO] [stdout] 815 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 815 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 815 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:1000:20 [INFO] [stdout] | [INFO] [stdout] 996 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 997 | playlist_id: PlaylistId<'a>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 998 | fields: Option<&'a str>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 999 | market: Option, [INFO] [stdout] 1000 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1000 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 1000 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:1053:20 [INFO] [stdout] | [INFO] [stdout] 1051 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 1052 | user_id: UserId<'a>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 1053 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1053 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 1053 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] --> tests/test_enums.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rspotify::model::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use rspotifys::model::*; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IncludeExternal` [INFO] [stdout] --> tests/test_enums.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let audio = IncludeExternal::Audio; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IncludeExternal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::IncludeExternal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RepeatState` [INFO] [stdout] --> tests/test_enums.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | let context = RepeatState::Context; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RepeatState` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::RepeatState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DisallowKey` [INFO] [stdout] --> tests/test_enums.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | let toggling_shuffle = DisallowKey::TogglingShuffle; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DisallowKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::DisallowKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimeRange` [INFO] [stdout] --> tests/test_enums.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | let medium_range = TimeRange::MediumTerm; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TimeRange` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::TimeRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DatePrecision` [INFO] [stdout] --> tests/test_enums.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let month = DatePrecision::Month; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DatePrecision` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::DatePrecision; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AlbumType` [INFO] [stdout] --> tests/test_enums.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let appears_on = AlbumType::AppearsOn; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AlbumType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::AlbumType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SearchType` [INFO] [stdout] --> tests/test_enums.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | let search_type = SearchType::Artist; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SearchType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::SearchType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/test_enums.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | let artist = Type::Artist; [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdditionalType` [INFO] [stdout] --> tests/test_enums.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | let episode = AdditionalType::Episode; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AdditionalType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::AdditionalType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentlyPlayingType` [INFO] [stdout] --> tests/test_enums.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | let ad = CurrentlyPlayingType::Advertisement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CurrentlyPlayingType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::CurrentlyPlayingType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SearchType` [INFO] [stdout] --> tests/test_enums.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | let episode = SearchType::Episode; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SearchType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::SearchType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Country` [INFO] [stdout] --> tests/test_enums.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | let zimbabwe = Country::Zimbabwe; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Country` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::Country; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] --> tests/test_oauth2.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rspotify::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use rspotifys::{ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] --> tests/test_models.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rspotify::model::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use rspotifys::model::*; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rspotify` [INFO] [stdout] --> tests/test_oauth2.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rspotify::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use rspotifys::{ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_oauth2.rs:60:50 [INFO] [stdout] | [INFO] [stdout] 60 | predefined_spotify.write_token_cache().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_oauth2.rs:67:58 [INFO] [stdout] | [INFO] [stdout] 67 | let tok_from_file = spotify.read_token_cache().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_oauth2.rs:102:39 [INFO] [stdout] | [INFO] [stdout] 102 | spotify.write_token_cache().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rspotifys` (test "test_oauth2") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rspotifys` (test "test_enums") due to 13 previous errors [INFO] [stdout] error[E0432]: unresolved import `rspotify` [INFO] [stdout] --> tests/util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rspotify::Credentials; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use rspotifys::Credentials; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SimplifiedTrack` in this scope [INFO] [stdout] --> tests/test_models.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | let track: SimplifiedTrack = deserialize(json_str); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::SimplifiedTrack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PublicUser` in this scope [INFO] [stdout] --> tests/test_models.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | let user: PublicUser = deserialize(json_str); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::PublicUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UserId` [INFO] [stdout] --> tests/test_models.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | UserId::from_id("wizzler_with_underscores").unwrap() [INFO] [stdout] | ^^^^^^ use of undeclared type `UserId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::UserId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrivateUser` in this scope [INFO] [stdout] --> tests/test_models.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | let private_user: PrivateUser = deserialize(json_str); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::PrivateUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Country` [INFO] [stdout] --> tests/test_models.rs:122:47 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!(private_user.country.unwrap(), Country::UnitedStates); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Country` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::Country; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FullArtist` in this scope [INFO] [stdout] --> tests/test_models.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | let full_artist: FullArtist = deserialize(json_str); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::FullArtist; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SimplifiedEpisode` in this scope [INFO] [stdout] --> tests/test_models.rs:198:29 [INFO] [stdout] | [INFO] [stdout] 198 | let simplified_episode: SimplifiedEpisode = deserialize(json_str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::SimplifiedEpisode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DatePrecision` [INFO] [stdout] --> tests/test_models.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | DatePrecision::Day [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DatePrecision` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::DatePrecision; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FullEpisode` in this scope [INFO] [stdout] --> tests/test_models.rs:270:23 [INFO] [stdout] | [INFO] [stdout] 270 | let full_episode: FullEpisode = deserialize(json_str); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::FullEpisode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DatePrecision` [INFO] [stdout] --> tests/test_models.rs:271:53 [INFO] [stdout] | [INFO] [stdout] 271 | assert_eq!(full_episode.release_date_precision, DatePrecision::Day); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DatePrecision` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::DatePrecision; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Copyright` in this scope [INFO] [stdout] --> tests/test_models.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | let copyrights: Vec = deserialize(json_str); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::Copyright; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CopyrightType` [INFO] [stdout] --> tests/test_models.rs:287:37 [INFO] [stdout] | [INFO] [stdout] 287 | assert_eq!(copyrights[0]._type, CopyrightType::Performance); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `CopyrightType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::CopyrightType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AudioAnalysisSection` in this scope [INFO] [stdout] --> tests/test_models.rs:309:18 [INFO] [stdout] | [INFO] [stdout] 309 | let session: AudioAnalysisSection = deserialize(json_str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::AudioAnalysisSection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AudioAnalysisSegment` in this scope [INFO] [stdout] --> tests/test_models.rs:334:18 [INFO] [stdout] | [INFO] [stdout] 334 | let segment: AudioAnalysisSegment = deserialize(json_str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::AudioAnalysisSegment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Actions` in this scope [INFO] [stdout] --> tests/test_models.rs:349:18 [INFO] [stdout] | [INFO] [stdout] 349 | let actions: Actions = deserialize(json_str); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::Actions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DisallowKey` [INFO] [stdout] --> tests/test_models.rs:350:38 [INFO] [stdout] | [INFO] [stdout] 350 | assert_eq!(actions.disallows[0], DisallowKey::Resuming); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DisallowKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::DisallowKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RecommendationsSeed` in this scope [INFO] [stdout] --> tests/test_models.rs:366:15 [INFO] [stdout] | [INFO] [stdout] 366 | let seed: RecommendationsSeed = deserialize(json_str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::RecommendationsSeed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RecommendationsSeedType` [INFO] [stdout] --> tests/test_models.rs:367:28 [INFO] [stdout] | [INFO] [stdout] 367 | assert_eq!(seed._type, RecommendationsSeedType::Artist); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RecommendationsSeedType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::RecommendationsSeedType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FullPlaylist` in this scope [INFO] [stdout] --> tests/test_models.rs:500:24 [INFO] [stdout] | [INFO] [stdout] 500 | let full_playlist: FullPlaylist = deserialize(json_str); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::FullPlaylist; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AudioFeatures` in this scope [INFO] [stdout] --> tests/test_models.rs:533:25 [INFO] [stdout] | [INFO] [stdout] 533 | let audio_features: AudioFeatures = deserialize(json); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::AudioFeatures; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FullTrack` in this scope [INFO] [stdout] --> tests/test_models.rs:613:21 [INFO] [stdout] | [INFO] [stdout] 613 | let full_track: FullTrack = deserialize(json); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::FullTrack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResumePoint` in this scope [INFO] [stdout] --> tests/test_models.rs:627:23 [INFO] [stdout] | [INFO] [stdout] 627 | let resume_point: ResumePoint = deserialize(json); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::ResumePoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResumePoint` in this scope [INFO] [stdout] --> tests/test_models.rs:641:23 [INFO] [stdout] | [INFO] [stdout] 641 | let resume_point: ResumePoint = deserialize(json); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::ResumePoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CurrentlyPlayingContext` in this scope [INFO] [stdout] --> tests/test_models.rs:747:36 [INFO] [stdout] | [INFO] [stdout] 747 | let currently_playing_context: CurrentlyPlayingContext = deserialize(json); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::CurrentlyPlayingContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CurrentPlaybackContext` in this scope [INFO] [stdout] --> tests/test_models.rs:860:35 [INFO] [stdout] | [INFO] [stdout] 860 | let current_playback_context: CurrentPlaybackContext = deserialize(json); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::CurrentPlaybackContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CurrentUserQueue` in this scope [INFO] [stdout] --> tests/test_models.rs:1044:29 [INFO] [stdout] | [INFO] [stdout] 1044 | let current_user_queue: CurrentUserQueue = deserialize(json); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::CurrentUserQueue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AudioAnalysisTrack` in this scope [INFO] [stdout] --> tests/test_models.rs:1094:31 [INFO] [stdout] | [INFO] [stdout] 1094 | let audio_analysis_track: AudioAnalysisTrack = deserialize(json); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::AudioAnalysisTrack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Modality` [INFO] [stdout] --> tests/test_models.rs:1095:43 [INFO] [stdout] | [INFO] [stdout] 1095 | assert_eq!(audio_analysis_track.mode, Modality::Minor); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Modality` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::Modality; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SimplifiedPlaylist` in this scope [INFO] [stdout] --> tests/test_models.rs:1139:30 [INFO] [stdout] | [INFO] [stdout] 1139 | let simplified_playlist: SimplifiedPlaylist = deserialize(json); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::SimplifiedPlaylist; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> tests/test_models.rs:1160:18 [INFO] [stdout] | [INFO] [stdout] 1160 | let context: Context = deserialize(json); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::__rt::Context; [INFO] [stdout] | [INFO] [stdout] 1 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 + use futures::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 + use futures_util::task::Context; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/test_models.rs:1161:31 [INFO] [stdout] | [INFO] [stdout] 1161 | assert_eq!(context._type, Type::Collectionyourepisodes); [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rspotify_model::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rspotifys` (test "util") due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rspotifys` (test "test_models") due to 32 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] --> tests/test_with_credential.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rspotify::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use rspotifys::{ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rspotify` [INFO] [stdout] --> tests/util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rspotify::Credentials; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use rspotifys::Credentials; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rspotify` [INFO] [stdout] --> tests/test_with_credential.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rspotify::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use rspotifys::{ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] --> tests/test_with_oauth.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use rspotify::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 20 | use rspotifys::{ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rspotify` [INFO] [stdout] --> tests/util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rspotify::Credentials; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use rspotifys::Credentials; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rspotify` [INFO] [stdout] --> tests/test_with_oauth.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use rspotify::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rspotify` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 20 | use rspotifys::{ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | spotify.request_token().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | creds_client().await.album(birdy_uri, None).await.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | creds_client().await.album(birdy_uri, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | creds_client().await.albums(track_uris, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:44:57 [INFO] [stdout] | [INFO] [stdout] 44 | creds_client().await.albums(track_uris, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | .album_track_manual(birdy_uri, None, Some(2), None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | .artist_related_artists(birdy_uri) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | creds_client().await.artist(birdy_uri).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | creds_client().await.artist(birdy_uri).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | .artist_albums_manual( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | .artist_albums_manual( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | .artist_albums_manual( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:161:26 [INFO] [stdout] | [INFO] [stdout] 161 | creds_client().await.artists(artist_uris).await.unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:161:53 [INFO] [stdout] | [INFO] [stdout] 161 | creds_client().await.artists(artist_uris).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | .artist_top_tracks(birdy_uri, Some(Market::Country(Country::UnitedStates))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:185:26 [INFO] [stdout] | [INFO] [stdout] 185 | creds_client().await.track_analysis(track).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:185:54 [INFO] [stdout] | [INFO] [stdout] 185 | creds_client().await.track_analysis(track).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:195:26 [INFO] [stdout] | [INFO] [stdout] 195 | creds_client().await.track_features(track).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:195:54 [INFO] [stdout] | [INFO] [stdout] 195 | creds_client().await.track_features(track).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | .tracks_features(tracks_ids) [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:225:26 [INFO] [stdout] | [INFO] [stdout] 225 | creds_client().await.user(birdy_uri).await.unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:225:48 [INFO] [stdout] | [INFO] [stdout] 225 | creds_client().await.user(birdy_uri).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:235:26 [INFO] [stdout] | [INFO] [stdout] 235 | creds_client().await.track(birdy_uri, None).await.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:235:55 [INFO] [stdout] | [INFO] [stdout] 235 | creds_client().await.track(birdy_uri, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:248:26 [INFO] [stdout] | [INFO] [stdout] 248 | creds_client().await.tracks(track_uris, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:248:57 [INFO] [stdout] | [INFO] [stdout] 248 | creds_client().await.tracks(track_uris, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:260:10 [INFO] [stdout] | [INFO] [stdout] 260 | .playlist(playlist_id, None, None) [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:262:10 [INFO] [stdout] | [INFO] [stdout] 262 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | let playlist = creds_client().await.playlist(playlist_id, None, None).await; [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | let playlist = creds_client().await.playlist(playlist_id, None, None).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 273 | assert!(playlist.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `playlist` an explicit type [INFO] [stdout] | [INFO] [stdout] 272 | let playlist: /* Type */ = creds_client().await.playlist(playlist_id, None, None).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_credential.rs:322:19 [INFO] [stdout] | [INFO] [stdout] 322 | .map(|track| track.unwrap().name) [INFO] [stdout] | ^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 322 | .map(|track: /* Type */| track.unwrap().name) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rspotifys` (test "test_with_credential") due to 41 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | PlayableId::Track(TrackId::from_uri("spotify:track:4iV5W9uYEdYUVa79Axb7Rh").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | PlayableId::Track(TrackId::from_uri("spotify:track:2DzSjFQKetFhkFCuDWhioi").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | PlayableId::Episode(EpisodeId::from_id("0lbiy3LKzIY2fnyjioC11p").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:425:33 [INFO] [stdout] | [INFO] [stdout] 425 | uris.iter().map(PlayableId::as_ref), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:776:9 [INFO] [stdout] | [INFO] [stdout] 776 | PlayableId::Track(TrackId::from_uri("spotify:track:5iKndSu1XI74U2OZePzP8L").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | PlayableId::Track(TrackId::from_uri("spotify:track:5iKndSu1XI74U2OZePzP8L").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:778:9 [INFO] [stdout] | [INFO] [stdout] 778 | PlayableId::Episode(EpisodeId::from_uri("spotify/episode/381XrGKkcdNkLwfsQ4Mh5y").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:779:9 [INFO] [stdout] | [INFO] [stdout] 779 | PlayableId::Episode(EpisodeId::from_uri("spotify/episode/6O63eWrfWPvN41CsSyDXve").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:786:31 [INFO] [stdout] | [INFO] [stdout] 786 | tracks.iter().map(PlayableId::as_ref), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | PlayableId::Track(TrackId::from_uri("spotify:track:4iV5W9uYEdYUVa79Axb7Rh").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:804:9 [INFO] [stdout] | [INFO] [stdout] 804 | PlayableId::Track(TrackId::from_uri("spotify:track:4iV5W9uYEdYUVa79Axb7Rh").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | PlayableId::Track(TrackId::from_uri("spotify:track:1301WleyT98MSxVHPZCA6M").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:806:9 [INFO] [stdout] | [INFO] [stdout] 806 | PlayableId::Episode(EpisodeId::from_id("0lbiy3LKzIY2fnyjioC11p").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:807:9 [INFO] [stdout] | [INFO] [stdout] 807 | PlayableId::Track(TrackId::from_uri("spotify:track:5m2en2ndANCPembKOYr1xL").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:808:9 [INFO] [stdout] | [INFO] [stdout] 808 | PlayableId::Episode(EpisodeId::from_id("4zugY5eJisugQj9rj8TYuh").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:809:9 [INFO] [stdout] | [INFO] [stdout] 809 | PlayableId::Track(TrackId::from_uri("spotify:track:5m2en2ndANCPembKOYr1xL").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:824:17 [INFO] [stdout] | [INFO] [stdout] 824 | id: PlayableId::Track( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:830:17 [INFO] [stdout] | [INFO] [stdout] 830 | id: PlayableId::Track( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:850:9 [INFO] [stdout] | [INFO] [stdout] 850 | PlayableId::Track(TrackId::from_uri("spotify:track:4iV5W9uYEdYUVa79Axb7Rh").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:851:9 [INFO] [stdout] | [INFO] [stdout] 851 | PlayableId::Episode(EpisodeId::from_id("0lbiy3LKzIY2fnyjioC11p").unwrap()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayableId` [INFO] [stdout] --> tests/test_with_oauth.rs:937:9 [INFO] [stdout] | [INFO] [stdout] 937 | PlayableId::Track(TrackId::from_uri("spotify:track:6rqhFgbbKwnb9MLmUQDhG6").unwrap()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PlayableId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use rspotify_model::PlayableId; [INFO] [stdout] | [INFO] [stdout] 20 + use rspotifys::prelude::PlayableId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | *spotify.token.lock().await.unwrap() = Some(token); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:98:39 [INFO] [stdout] | [INFO] [stdout] 98 | spotify.refresh_token().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:115:49 [INFO] [stdout] | [INFO] [stdout] 115 | paginator.try_collect::>().await.unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:730:34 [INFO] [stdout] | [INFO] [stdout] 730 | let user = client.me().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:737:10 [INFO] [stdout] | [INFO] [stdout] 737 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:743:10 [INFO] [stdout] | [INFO] [stdout] 743 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:761:10 [INFO] [stdout] | [INFO] [stdout] 761 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:790:10 [INFO] [stdout] | [INFO] [stdout] 790 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:797:10 [INFO] [stdout] | [INFO] [stdout] 797 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:814:41 [INFO] [stdout] | [INFO] [stdout] 814 | replaced_tracks.iter().map(|t| t.as_ref()), [INFO] [stdout] | ^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 814 | replaced_tracks.iter().map(|t: /* Type */| t.as_ref()), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:817:10 [INFO] [stdout] | [INFO] [stdout] 817 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:839:10 [INFO] [stdout] | [INFO] [stdout] 839 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:856:10 [INFO] [stdout] | [INFO] [stdout] 856 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:877:10 [INFO] [stdout] | [INFO] [stdout] 877 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:884:10 [INFO] [stdout] | [INFO] [stdout] 884 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | .categories_manual( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | .category_playlists_manual( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 159 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | .current_playback(None, None::<&[_]>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:185:10 [INFO] [stdout] | [INFO] [stdout] 185 | .current_playing(None, None::<&[_]>) [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:187:10 [INFO] [stdout] | [INFO] [stdout] 187 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:199:10 [INFO] [stdout] | [INFO] [stdout] 199 | .current_user_followed_artists(None, Some(10)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 201 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | .current_user_playing_item() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | .current_user_recently_played(Some(10), Some(limit)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | let client = oauth_client().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | .current_user_saved_albums_add(album_ids.iter().map(AlbumId::as_ref)) [INFO] [stdout] | ----------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 245 | let client: /* Type */ = oauth_client().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | let client = oauth_client().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | .current_user_saved_tracks_add(tracks_ids.iter().map(TrackId::as_ref)) [INFO] [stdout] | ----------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 281 | let client: /* Type */ = oauth_client().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:289:10 [INFO] [stdout] | [INFO] [stdout] 289 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:294:10 [INFO] [stdout] | [INFO] [stdout] 294 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:309:10 [INFO] [stdout] | [INFO] [stdout] 309 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 321 | .current_user_top_artists_manual(Some(TimeRange::ShortTerm), Some(10), Some(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:323:10 [INFO] [stdout] | [INFO] [stdout] 323 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | .current_user_top_tracks_manual(Some(TimeRange::ShortTerm), Some(10), Some(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:337:10 [INFO] [stdout] | [INFO] [stdout] 337 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:350:10 [INFO] [stdout] | [INFO] [stdout] 350 | .featured_playlists(None, None, Some(now), Some(10), Some(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:362:26 [INFO] [stdout] | [INFO] [stdout] 362 | oauth_client().await.me().await.unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:362:37 [INFO] [stdout] | [INFO] [stdout] 362 | oauth_client().await.me().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:374:10 [INFO] [stdout] | [INFO] [stdout] 374 | .new_releases_manual(Some(Market::Country(Country::Sweden)), Some(10), Some(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:376:10 [INFO] [stdout] | [INFO] [stdout] 376 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:388:10 [INFO] [stdout] | [INFO] [stdout] 388 | .new_releases_manual(Some(Market::FromToken), Some(10), Some(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | let client = oauth_client().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | let devices = client.device().await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 400 | let client: /* Type */ = oauth_client().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:406:41 [INFO] [stdout] | [INFO] [stdout] 406 | let devices = client.device().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:411:68 [INFO] [stdout] | [INFO] [stdout] 411 | let backup = client.current_playback(None, None::<&[_]>).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> tests/test_with_oauth.rs:427:22 [INFO] [stdout] | [INFO] [stdout] 427 | Some(Offset::Position(chrono::Duration::zero())), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 427 | Some(::Position(chrono::Duration::zero())), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:431:14 [INFO] [stdout] | [INFO] [stdout] 431 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:434:54 [INFO] [stdout] | [INFO] [stdout] 434 | client.next_track(Some(device_id)).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:438:62 [INFO] [stdout] | [INFO] [stdout] 438 | client.previous_track(Some(device_id)).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:439:58 [INFO] [stdout] | [INFO] [stdout] 439 | client.next_track(Some(device_id)).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:443:78 [INFO] [stdout] | [INFO] [stdout] 443 | let playback = client.current_playback(None, None::<&[_]>).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:446:66 [INFO] [stdout] | [INFO] [stdout] 446 | client.pause_playback(Some(device_id)).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:447:62 [INFO] [stdout] | [INFO] [stdout] 447 | client.resume_playback(None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:449:62 [INFO] [stdout] | [INFO] [stdout] 449 | client.resume_playback(None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:450:66 [INFO] [stdout] | [INFO] [stdout] 450 | client.pause_playback(Some(device_id)).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:458:14 [INFO] [stdout] | [INFO] [stdout] 458 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:463:45 [INFO] [stdout] | [INFO] [stdout] 463 | let uri = backup.item.as_ref().map(|item| item.id()); [INFO] [stdout] | ^^^^ -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 463 | let uri = backup.item.as_ref().map(|item: /* Type */| item.id()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:471:18 [INFO] [stdout] | [INFO] [stdout] 471 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:476:43 [INFO] [stdout] | [INFO] [stdout] 476 | client.pause_playback(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:496:10 [INFO] [stdout] | [INFO] [stdout] 496 | .recommendations( [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:505:10 [INFO] [stdout] | [INFO] [stdout] 505 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | let client = oauth_client().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | let backup = client.current_playback(None, None::<&[_]>).await.unwrap(); [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 515 | let client: /* Type */ = oauth_client().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:518:68 [INFO] [stdout] | [INFO] [stdout] 518 | let backup = client.current_playback(None, None::<&[_]>).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:520:49 [INFO] [stdout] | [INFO] [stdout] 520 | client.repeat(RepeatState::Off, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:523:56 [INFO] [stdout] | [INFO] [stdout] 523 | client.repeat(backup.repeat_state, None).await.unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:537:10 [INFO] [stdout] | [INFO] [stdout] 537 | .search(query, SearchType::Album, None, None, Some(10), Some(0)) [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:539:10 [INFO] [stdout] | [INFO] [stdout] 539 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:552:10 [INFO] [stdout] | [INFO] [stdout] 552 | .search( [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:561:10 [INFO] [stdout] | [INFO] [stdout] 561 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | .search( [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:583:10 [INFO] [stdout] | [INFO] [stdout] 583 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:596:10 [INFO] [stdout] | [INFO] [stdout] 596 | .search( [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:605:10 [INFO] [stdout] | [INFO] [stdout] 605 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:620:10 [INFO] [stdout] | [INFO] [stdout] 620 | .search(query, SearchType::Show, None, None, None, Some(0)) [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:622:10 [INFO] [stdout] | [INFO] [stdout] 622 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | let client = oauth_client().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 635 | let backup = client.current_playback(None, None::<&[_]>).await.unwrap(); [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 632 | let client: /* Type */ = oauth_client().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:635:68 [INFO] [stdout] | [INFO] [stdout] 635 | let backup = client.current_playback(None, None::<&[_]>).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:640:10 [INFO] [stdout] | [INFO] [stdout] 640 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:647:49 [INFO] [stdout] | [INFO] [stdout] 647 | client.seek_track(progress, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | let client = oauth_client().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 661 | let backup = client.current_playback(None, None::<&[_]>).await.unwrap(); [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 658 | let client: /* Type */ = oauth_client().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:661:68 [INFO] [stdout] | [INFO] [stdout] 661 | let backup = client.current_playback(None, None::<&[_]>).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:663:38 [INFO] [stdout] | [INFO] [stdout] 663 | client.shuffle(true, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:666:58 [INFO] [stdout] | [INFO] [stdout] 666 | client.shuffle(backup.shuffle_state, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | let client = oauth_client().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 684 | .user_follow_artists(artists.iter().map(ArtistId::as_ref)) [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 677 | let client: /* Type */ = oauth_client().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:686:10 [INFO] [stdout] | [INFO] [stdout] 686 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:687:49 [INFO] [stdout] | [INFO] [stdout] 687 | client.user_unfollow_artists(artists).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:697:9 [INFO] [stdout] | [INFO] [stdout] 697 | let client = oauth_client().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 704 | .user_follow_users(users.iter().map(UserId::as_ref)) [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 697 | let client: /* Type */ = oauth_client().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:706:10 [INFO] [stdout] | [INFO] [stdout] 706 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:707:45 [INFO] [stdout] | [INFO] [stdout] 707 | client.user_unfollow_users(users).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:717:9 [INFO] [stdout] | [INFO] [stdout] 717 | let client = oauth_client().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 721 | .playlist_follow(playlist_id.as_ref(), Some(true)) [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 717 | let client: /* Type */ = oauth_client().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:723:10 [INFO] [stdout] | [INFO] [stdout] 723 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:725:49 [INFO] [stdout] | [INFO] [stdout] 725 | client.playlist_unfollow(playlist_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:908:9 [INFO] [stdout] | [INFO] [stdout] 908 | let client = oauth_client().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 911 | let backup = client.current_playback(None, None::<&[_]>).await.unwrap(); [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 908 | let client: /* Type */ = oauth_client().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:911:68 [INFO] [stdout] | [INFO] [stdout] 911 | let backup = client.current_playback(None, None::<&[_]>).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:913:35 [INFO] [stdout] | [INFO] [stdout] 913 | client.volume(78, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:923:49 [INFO] [stdout] | [INFO] [stdout] 923 | client.volume(volume as u8, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:940:10 [INFO] [stdout] | [INFO] [stdout] 940 | .add_item_to_queue(birdy_uri, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:942:10 [INFO] [stdout] | [INFO] [stdout] 942 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:959:10 [INFO] [stdout] | [INFO] [stdout] 959 | .get_several_shows(shows, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:961:10 [INFO] [stdout] | [INFO] [stdout] 961 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:977:10 [INFO] [stdout] | [INFO] [stdout] 977 | .get_several_episodes(episodes, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_with_oauth.rs:979:10 [INFO] [stdout] | [INFO] [stdout] 979 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rspotifys` (test "test_with_oauth") due to 132 previous errors [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:287:20 [INFO] [stdout] | [INFO] [stdout] 283 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 284 | artist_id: ArtistId<'a>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 287 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 287 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 287 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:464:20 [INFO] [stdout] | [INFO] [stdout] 461 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 462 | album_id: AlbumId<'a>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 463 | market: Option, [INFO] [stdout] 464 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 464 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 464 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:633:20 [INFO] [stdout] | [INFO] [stdout] 630 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 631 | id: ShowId<'a>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 632 | market: Option, [INFO] [stdout] 633 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 633 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 633 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:770:20 [INFO] [stdout] | [INFO] [stdout] 767 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 768 | locale: Option<&'a str>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 769 | country: Option, [INFO] [stdout] 770 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 770 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 770 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:815:20 [INFO] [stdout] | [INFO] [stdout] 812 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 813 | category_id: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 814 | country: Option, [INFO] [stdout] 815 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 815 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 815 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:1000:20 [INFO] [stdout] | [INFO] [stdout] 996 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 997 | playlist_id: PlaylistId<'a>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 998 | fields: Option<&'a str>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 999 | market: Option, [INFO] [stdout] 1000 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1000 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 1000 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/clients/base.rs:1053:20 [INFO] [stdout] | [INFO] [stdout] 1051 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 1052 | user_id: UserId<'a>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 1053 | ) -> Paginator<'_, ClientResult> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1053 - ) -> Paginator<'_, ClientResult> { [INFO] [stdout] 1053 + ) -> Paginator<'a, ClientResult> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "72c26fd20f48d968bd7f61aedae3b19ba3d27388a39c87e336a4751c046461d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72c26fd20f48d968bd7f61aedae3b19ba3d27388a39c87e336a4751c046461d7", kill_on_drop: false }` [INFO] [stdout] 72c26fd20f48d968bd7f61aedae3b19ba3d27388a39c87e336a4751c046461d7