[INFO] fetching crate ferrispot 0.1.0... [INFO] checking ferrispot-0.1.0 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate ferrispot 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate ferrispot 0.1.0 on toolchain 8ea250bdb76176ecb0225baa34aa634b024ae0e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ferrispot 0.1.0 [INFO] finished tweaking crates.io crate ferrispot 0.1.0 [INFO] tweaked toml for crates.io crate ferrispot 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate ferrispot 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e618a0e47ed84dc471bfd1478471b5fdf3d8802a768cf46f9e1a49dba9306569 [INFO] running `Command { std: "docker" "start" "-a" "e618a0e47ed84dc471bfd1478471b5fdf3d8802a768cf46f9e1a49dba9306569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e618a0e47ed84dc471bfd1478471b5fdf3d8802a768cf46f9e1a49dba9306569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e618a0e47ed84dc471bfd1478471b5fdf3d8802a768cf46f9e1a49dba9306569", kill_on_drop: false }` [INFO] [stdout] e618a0e47ed84dc471bfd1478471b5fdf3d8802a768cf46f9e1a49dba9306569 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a45a0496053cc797a0c50e254700bb492ddcf036ac417ffdb5cfeafa304715aa [INFO] running `Command { std: "docker" "start" "-a" "a45a0496053cc797a0c50e254700bb492ddcf036ac417ffdb5cfeafa304715aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling const_format_proc_macros v0.2.22 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking dotenvy v0.15.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking const_format v0.2.26 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking ferrispot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `client::authorization_code::::refresh_access_token` [INFO] [stdout] --> src/client/authorization_code.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::authorization_code::::refresh_access_token`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `client::scoped::ScopedClient::playback_state` [INFO] [stdout] --> src/client/scoped.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::scoped::ScopedClient::playback_state`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `client::scoped::ScopedClient::currently_playing_track` [INFO] [stdout] --> src/client/scoped.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::scoped::ScopedClient::currently_playing_track`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `client::scoped::ScopedClient::devices` [INFO] [stdout] --> src/client/scoped.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::scoped::ScopedClient::devices`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `client::unscoped::UnscopedClient::track` [INFO] [stdout] --> src/client/unscoped.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | async fn track(&'a self, track_id: T, market: Option) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::unscoped::UnscopedClient::track`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `client::unscoped::UnscopedClient::tracks` [INFO] [stdout] --> src/client/unscoped.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | async fn tracks(&'a self, track_ids: I, market: Option) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::unscoped::UnscopedClient::tracks`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `client::::refresh_access_token` [INFO] [stdout] --> src/client.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::::refresh_access_token`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrispot` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `client::authorization_code::::refresh_access_token` [INFO] [stdout] --> src/client/authorization_code.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::authorization_code::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client/authorization_code.rs:378:56 [INFO] [stdout] | [INFO] [stdout] 378 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 379 | | // build and send the request this way to not hold the non-async RwLockReadGuard across await points [INFO] [stdout] 380 | | let response = { [INFO] [stdout] 381 | | let refresh_token = self.inner.refresh_token.read().expect("refresh token rwlock poisoned"); [INFO] [stdout] ... | [INFO] [stdout] 425 | | Ok(()) [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::authorization_code::::refresh_access_token`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `client::scoped::ScopedClient::playback_state` [INFO] [stdout] --> src/client/scoped.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::scoped::ScopedClient::playback_state::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:33:72 [INFO] [stdout] | [INFO] [stdout] 33 | async fn playback_state(&'a self) -> Result> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 34 | | let response = self [INFO] [stdout] 35 | | .send_http_request( [INFO] [stdout] 36 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(Some(playback_state)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::scoped::ScopedClient::playback_state`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `client::scoped::ScopedClient::currently_playing_track` [INFO] [stdout] --> src/client/scoped.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::scoped::ScopedClient::currently_playing_track::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:59:89 [INFO] [stdout] | [INFO] [stdout] 59 | async fn currently_playing_track(&'a self) -> Result> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 60 | | let response = self [INFO] [stdout] 61 | | .send_http_request( [INFO] [stdout] 62 | | Method::GET, [INFO] [stdout] ... | [INFO] [stdout] 81 | | Ok(Some(currently_playing_trtack)) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::scoped::ScopedClient::currently_playing_track`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `client::scoped::ScopedClient::devices` [INFO] [stdout] --> src/client/scoped.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::scoped::ScopedClient::devices::{closure#0}`... [INFO] [stdout] --> src/client/scoped.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | async fn devices(&'a self) -> Result> { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 258 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 259 | | struct DevicesResponse { [INFO] [stdout] 260 | | devices: Vec, [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(devices_response.devices) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::scoped::ScopedClient::devices`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `client::unscoped::UnscopedClient::track` [INFO] [stdout] --> src/client/unscoped.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | async fn track(&'a self, track_id: T, market: Option) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::unscoped::UnscopedClient::track::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / { [INFO] [stdout] 40 | | // TODO: gonna need a way more robust way of constructing the URLs [INFO] [stdout] 41 | | let mut url = format!("{}/{}", API_TRACKS_ENDPOINT, track_id); [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | Ok(full_track) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::unscoped::UnscopedClient::track`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `client::unscoped::UnscopedClient::tracks` [INFO] [stdout] --> src/client/unscoped.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | async fn tracks(&'a self, track_ids: I, market: Option) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::unscoped::UnscopedClient::tracks::{closure#0}`... [INFO] [stdout] --> src/client/unscoped.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | #[derive(Debug, Deserialize)] [INFO] [stdout] 85 | | struct TracksResponse { [INFO] [stdout] 86 | | tracks: Vec>, [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(full_tracks) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::unscoped::UnscopedClient::tracks`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `client::::refresh_access_token` [INFO] [stdout] --> src/client.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::::refresh_access_token::{closure#0}`... [INFO] [stdout] --> src/client.rs:488:56 [INFO] [stdout] | [INFO] [stdout] 488 | async fn refresh_access_token(&self) -> Result<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 489 | | debug!("Refreshing access token for client credentials flow"); [INFO] [stdout] 490 | | let token_request_form = &[("grant_type", "client_credentials")]; [INFO] [stdout] 491 | | [INFO] [stdout] ... | [INFO] [stdout] 512 | | Ok(()) [INFO] [stdout] 513 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::::refresh_access_token`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrispot` due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "a45a0496053cc797a0c50e254700bb492ddcf036ac417ffdb5cfeafa304715aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45a0496053cc797a0c50e254700bb492ddcf036ac417ffdb5cfeafa304715aa", kill_on_drop: false }` [INFO] [stdout] a45a0496053cc797a0c50e254700bb492ddcf036ac417ffdb5cfeafa304715aa